Lab · DWG 0.1.0 · In progress
Now building: OzzyOS
A component library, built in public
Where I show the code side of my work today: a small, opinionated React design system with accessible components, a token pipeline shared by Figma and code, and thorough documentation for every component.
- Status
- In progress
- Stack
- TypeScript, React, React Aria, Style Dictionary, Storybook
- Standard
- WCAG 2.2 AA, checked automatically
- Planned projects
- UXScore, a survey product, and OZARIN.com, a blog and podcast
The plan
Ten finished components rather than thirty half-built ones. Each hero component documents every state, its keyboard map and screen reader behaviour, and has tests.
- 01ButtonIcon button as a variant
- 02Text & HeadingOne typography module
- 03LinkInline and standalone
- 04 ★TextFieldLabel, help, error, required, count
- 05CheckboxPlus checkbox group
- 06Radio groupKeyboard roving focus
- 07SwitchOn, off, disabled
- 08 ★SelectBuilt on React Aria
- 09 ★DialogIncludes a drawer variant
- 10 ★TabsBuilt on React Aria
Principles
- Accessible by default. Every component meets WCAG 2.2 AA when it ships, with no extra setup. Automated checks run on every change, and token pairs that fail contrast are blocked before they merge.
- Less is more. Fewer components, fewer variants and better defaults. Anything new has to justify itself, and the default should be the right choice most of the time.
- Tokens first. Components use tokens, never raw values. Change a token and the whole system follows, which also makes theming possible.
- AI is my copilot. AI writes a lot of the code, and checks decide whether it ships. Tests, visual regression and accessibility checks have to pass, and I review every change in the browser before it merges.
Where to look
- GitHubSource, CI and releasesOpen ↗ (opens in a new tab)
- FigmaVariables and componentsLink coming
- StorybookComponent docs, every stateLink coming
- ChromaticVisual tests on every pull requestLink coming
PostWhy I’m building a design system: AI as a working partner, a foundation for my own projects, and work I can show outside NDAs.
PostHow my design system is wired: The services and workflow behind the library, from GitHub to Storybook, Chromatic and npm.