Skip to content

About

UI components playground

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

playground

primitives of interaction, tuned by hand. small, opinionated visual behaviors — one component per page.

run

pnpm install
pnpm dev

open http://localhost:5173.

structure

  • registry/<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.

adding a primitive

  1. write registry/<name>/<name>.tsx.
  2. write src/demos/<name>.tsx (copy an existing demo as a template).
  3. add an entry to src/primitives.ts.

look

paper (#E4E4DE) and cold film (#0F1114). fraunces variable throughout. one bold element per component; everything else quiet.

About

UI components playground

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages