Background.
A personal project built to test one hypothesis: the same components, given different tokens, should carry different products without a line of component code changing. I designed and built it in React, TypeScript and Storybook.
Problem.
A library proves little on a demo page built to show it off. So real screens are the constraint: each chapter rebuilds screens from a product I designed, using the shared components and only that product's tokens.
Key decision.
I gave every base value one home in TypeScript, then generated CSS variables and utilities for light and dark. Components consume those tokens instead of owning their colours and spacing. The live Tokens page reads the same source, so documentation follows the implementation.
Dive deeper.
Button, Input, Textarea, Select, Checkbox, Radio, Switch, FormField, Card, Badge, Avatar, Tabs, Modal and Toast, each with a Default story and state stories. Four docs pages sit beside them: Design principles, Tokens, Accessibility and Usage. One call changed the plan: I built on Storybook 10, not 9, because 9 depended on a package with a published security advisory.
Program browse filters by verdict and searches; the scholarship list sorts and narrows to the awards a student qualifies for. Both are built only from the shared components.
CI (opens in a new tab) runs typecheck and lint, token freshness (the generated CSS matches the tokens file), contrast on the colour pairings the components use, in both themes, a public-safety check that fails if a colour code appears outside the tokens, the Storybook build, and axe on every story. Tabs (opens in a new tab) and Modal (opens in a new tab) test keyboard focus; Toast tests what screen readers hear. Every push to main publishes the Storybook to GitHub Pages.
Chapter 1.
It rebuilds three screens from an education platform that helps students choose what to study: program browse, an eligibility result and a scholarship list, plus a before and after (opens in a new tab). The chapter theme (opens in a new tab) changes only tokens: the typeface, the corners, the control heights and the colours.
Next.
Chapter 2 is Tapbook, from a previous role, and chapter 3 is a client project. Each gets the same test: its own tokens, the same components. The Storybook (opens in a new tab) and the code (opens in a new tab) are public, so you can check this page against them.
In numbers
- 14
- components on one set of tokens
- From Button to Toast, none with its own colours.
- 59
- stories, a control for every prop
- A Default story and state stories for each.
- 1 of 3
- chapters live
- Three screens from an education platform, 10 chapter stories.
Every school, program, grade and award on these screens is sample data.




