Back to README

Components

The hub — every shared component, what it is built from, and when to reach for it. Tokens first, then the components that consume them, then the labs as a bench. Each section used to live on this page; each now has its own page, linked below.

  • TokensEvery shared value on the site — colors, type, motion, radius. Components consume these instead of carrying one-off values; check here before introducing a new color, and never ship a hex that isn't on the list.
  • RegistryEvery shared component, in one place. Each entry is the quick overview — what it is, when to reach for it, what it is built from. Read the entry to use a component, read the Dock essay to change it.
  • MotionIcons move only to communicate state. The vocabulary is deliberately small: 200–300ms, positional, and every transition is killed under prefers-reduced-motion.
  • Type labThe bench for the production face, DM Sans. Test scale, weight, and tracking here before changing type or introducing a custom font.
  • Icon labEvery symbol in the sprite, live. Drag the stroke weight to preview the set before editing chrome.js.
  • LottieThe Lottie playground — hand-authored JSON, hover and loop demos, and the two gotchas of authoring by hand.
  • Texture labBraille grain as halftone, not art — density as a dial, and a Toronto skyline derived from a real photo.
  • Global lightThe Light lab: one light drives the whole scene — direction, day and night, shadows, highlights — while text stays emissive, never lit.
Every linked page is itself the test case: the examples use the same classes and symbols as the public site.