Overview
What Facet is, and how it thinks about design systems.
Facet treats a design system as a compiler over a typed token graph. It is zero-runtime and framework-agnostic: you describe tokens once and author UI styles through three surfaces that all compile to static atoms.
Status: pre-release. A reference implementation is available, but Facet is still in M0 and is not yet a released production package.
Core ideas
- Modes are first-class via resolver axes (
theme,brand,density). - One-source token graph with aliases, derivations, and a11y constraints.
- Cross-target emission to CSS, Tailwind, Style Dictionary, and React Native/Swift/Kotlin.
- Headless behavior primitives with framework-specific adapters.