Skip to content

Get started

Features

What the system does, each with a link to see it working. The numbers are counted from the source on every build.

Foundations

One source of truth for every visual decision.
  • 380 design tokens in three tiers

    Primitive, semantic (97) and component tokens in the W3C DTCG format, built into CSS variables and TypeScript by Style Dictionary. Change a value once and every component follows.

    Browse all tokens
  • Contrast gate with 50 pairings

    Every text and control colour is paired with every surface it sits on. If one pairing drops below its WCAG minimum, the token build fails.

    See the colour system
  • Tailwind locked to the tokens

    Tailwind's default colours, sizes and spacing are switched off. A class that isn't backed by a token produces no CSS, and the check reports it.

    See the spacing grid
  • Status colours that never stand alone

    Positive, caution, info and danger, each with a tint. Every tone comes with a word or an icon, so meaning never depends on colour.

    See InlineMessage

Components

Built once, documented the same way, checked on every build.
  • 58 components in 8 categories

    Actions, forms, feedback, content, navigation, overlays, layout and slides. Each has a status (experimental, ready or deprecated), so you know what is safe to use.

    All components
  • Four pages per component

    Overview with anatomy, usage with do and don't, code with props and live examples, and accessibility with keyboard support and the tokens it uses.

    Example: Button
  • Docs that can't drift from the code

    Documented props are checked against the component's TypeScript type, and every example is type-checked. A prop that no longer exists fails the build.

    Button props
  • Slides on the same system

    Templates for title, cold open, guiding question, columns, process and statement on a 1600 × 900 canvas, with type that scales as one picture and the rules from real case decks.

    Slides foundations
  • Forms with built-in validation

    Rules are plain attributes such as required or type="email". On submit, every invalid field is marked, a summary is announced and focus moves to the first error.

    See Form

Accessibility

Tested by machines on every run, and honest about what isn't tested yet.
  • axe on every page, at two widths

    Every page of this site is checked with axe at desktop and phone width, together with overflow, dead classes and a screenshot.

    Accessibility foundations
  • 25 keyboard tests

    Scripted tests open dialogs, move through menus, submit forms and dismiss messages with the keyboard. 22 components are marked keyboard-tested, and only those.

    Testing status per component
  • No claims without a test

    Screen reader support stays “not tested yet” until someone has actually tested it. The status page shows the real state of every component.

    Component status

Documentation site

Built to be shown, and to be used.
  • Search with Ctrl+K

    Finds components, foundations and pages. Fully usable with the keyboard.

    Start page
  • Copy code, copy whole pages

    Every example has a copy button. Every component page can be copied as Markdown, ready for an AI chat.

    Example: Dialog code
  • Patterns with rules and a reference build

    Recurring solutions with the problem, checkable rules and a live build from system components: forms with errors and destructive confirmations for products, and the free•lenz portfolio itself, rebuilt with its real content.

    Patterns
  • Readable for language models

    An llms.txt maps the whole site in Markdown, built from the same registries as the navigation.

    llms.txt
  • Changelog from the git history

    Every change to the system appears automatically, with its date.

    Changelog

AI pipeline

An AI builds screens only from this system, and a gate decides whether they pass.
  • Rules and a machine-readable manifest

    A rules file says how to compose screens. A generated manifest lists every component with props, examples and guidance, and every allowed utility class.

    For AI
  • One command as the gate

    npm run check runs the contrast gate, metadata checks, TypeScript, lint, a production build, axe, keyboard and layout tests. Red means the screen isn't done.

    How the pipeline works
  • Interaction states are checked too

    Each generated screen declares its states, such as an open dialog or a form with errors. The gate clicks through them and screenshots each one.

    Generated screens
  • Gaps are reported, not improvised

    When a component is missing, the AI reports the gap instead of building its own. The gaps become the roadmap for the system.

    How the pipeline works