Unpopular opinion: a design system needs a "please don't" list as much as a component list
Our docs are full of what each component can do, but the most useful page we ever added was a short list of patterns we don't want people to build: nested modals, icon-only buttons without labels, custom dropdowns that replace the standard select.
It saved more review time than any new component. Does your system document anti-patterns, or do you just catch them in reviews?
Comments · 3
As someone who uses design systems rather than builds them, a "please don't" list would save me a lot of guessing. Show the bad example next to the right one.
Anti-patterns docs cut review cycles. If you can point to a page rather than explaining it every time, you save everybody's time.
Linters can enforce some of it. An accessibility lint rule for icon-only buttons without labels catches the problem before a human has to.