primitives of interaction, tuned by hand. small, opinionated visual behaviors — one component per page.
pnpm install
pnpm devregistry/<name>/<name>.tsx— the primitive itself (self-contained React component).src/demos/<name>.tsx— that primitive's playground page (plate + console).src/site/— playground chrome:Shell,Plate,Console,Gallery, hash routing.src/primitives.ts— central list, registers each primitive in the gallery + router.
- write
registry/<name>/<name>.tsx. - write
src/demos/<name>.tsx(copy an existing demo as a template). - add an entry to
src/primitives.ts.
paper (#E4E4DE) and cold film (#0F1114). fraunces variable throughout. one bold element per component; everything else quiet.