A 14-file UI kit, five Radix packages, 696 uses of one component and 371 hand-written button elements. I counted all of it, then asked a browser what the live pages actually contain, and the answer explains the design system better than the code does.
I spent an entire afternoon trying to write a focus trap from scratch. The requirement seemed dead simple: when a modal is open, the Tab key should cycle through elements inside it—and nowhere else.…