Personal project · 2026

Same components, new tokens, different product

A token-first React component library with a public Storybook (opens in a new tab). Chapter 1 rebuilds an education platform on it.

My contribution
Design and build
Result
Chapter 1 of 3 live in a public Storybook
Project screens

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.

The public Storybook: the Tokens page switches to dark and back, then the Button docs change variant live. Every value on the Tokens page comes from the same file the components read.

Dive deeper.

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.

One eligibility screen while only its tokens change: the chapter theme, the base theme, the chapter again, then dark mode. No component code changes.
The before is a placeholder I built from a common pattern, not a real screen: a score with no source and three buttons competing to lead. The after is chapter 1's program card, with the verdict first and in words.

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.

Have a similar challenge?

Let’s talk View résumé