Chiralkit / UI Kit
One visual system. Every stack.
Tokens, primitives, and patterns expressed once, then implemented for React, Web Components, and server-rendered templates.
The six levels of the UI Kit
Each level composes from the one below — the ChiralKit taxonomy applied to what the UI Kit actually ships. Cardinality at each ring follows Fibonacci: 1, 1, 2, 3, 5, 8.
See the cross-domain framing in Chiral Architecture-
Tokens
The shared vocabulary — color, spacing, radius, typography — declared once in @chiralkit/tokens and consumed by every stack as CSS custom properties.
-
Primitives
Single-purpose custom elements built directly from tokens: ds-button, ds-badge, ds-code-block. React and template usage both reach the same tag.
-
Patterns
Compositions of primitives that solve recurring interactions — dialogs, forms, tabs — with the same prop and event contract across stacks.
-
Enantiomers
Paired specializations of a pattern that share structural DNA and mirror per context. Two cards, two form modes, shipped together with the transition contract between them.
-
Features
End-to-end user flows — sign-in, checkout, settings — assembled from patterns and enantiomers, portable across React and server templates.
-
Pages
Full compositions of features and shared chrome. The surface a user actually sees; the top of the UI Kit's spiral.