1·Setting up context
What we set out to solve.
Designers and engineers were shipping two versions of every button. One source of truth: tokens shared by Figma and code, components built once, and docs good enough that people stop asking in Slack.
The brief
01
The challenge
Designers and engineers were shipping two versions of every button. Figma and the codebase had drifted so far that handoff meetings had become negotiations.
02
The goal
One source of truth: tokens shared by Figma and code, components built once, and docs good enough that people stop asking in Slack.
03
Delivered
Figma library, React components, Docs site, Tokens pipeline
My role
My role and the team
- Client
- Lumen Labs
- Role
- Design system, front-end
- Timeline
- 12 weeks
- Team
- Me + 4 engineers
At a glance
The outcome, in numbers
37 → 1
Button variants in production
-80%
Time spent in handoff
2×
Faster to ship a new screen
2·Research
What we learned before designing.
Findings
What came out of it
- UI inventory
- Engineer interviews
- Designer interviews
- Codebase audit
- 1
37
slightly different buttons in production.
- 2
6 hrs
per week the team spent in handoff and 'which one is right?' threads.
- 3
0
shared tokens between Figma and the code.
“I don't trust the Figma file anymore. I just look at what's live.”
3·Design decisions
What changed, and how it changed.
Decision 01
Tokens first, components second

The problem
- Colours and spacing were hard-coded everywhere.
What we did
- One tokens file feeds Figma variables and CSS; change it once and both update.
Decision 02
Figma props match code props

The problem
- Variants in Figma didn't map to anything in code.
What we did
- Every Figma variant is named exactly like a React prop, so handoff is copy and paste.
Decision 03
Docs that show, not tell

The problem
- Nobody read the old wiki.
What we did
- Each component page has a live playground, do/don't pairs and copyable code.
4·Process
How it came together.
Timeline
01
Discover
Week 1–2
Screenshot inventory of every component in production and interviews with both teams.
02
Define
Week 3
Token structure, naming rules and the first 20 components to build.
03
Design
Week 4–8
Figma library with variants that mirror the code props one to one.
04
Build
Week 9–12
React components, the tokens pipeline and the docs site with live examples.
The system
Designed as one system



- Colour
- Type
- Inter, JetBrains Mono
5·Impact
What it changed.
37 → 1
Button variants in production
-80%
Time spent in handoff
2×
Faster to ship a new screen
“Handoff used to be a meeting. Now it's a link.”
6·Reflection
Looking back.
I'd ship the docs site in week one with three components, not at the end; early adopters would have shaped it sooner.





