A design system that writes its own code
Role: Senior UX Manager, design lead and builder
Timeline: 2026–present (in progress)
Partners: Engineering
The problem
In most teams, a design system lives in two places: the design files and the code. Designers define a component, developers rebuild it from a spec, but the two never actually match. Every handoff invites guesswork, and every small change, like a new color or a spacing tweak, means another round of interpretation.
I wanted a system where what the designer defines is exactly what the developer ships.
Choosing the foundation with engineering
I worked with our developers to agree on a stack we'd both build on:
- React for the front end
- Tailwind to define the design tokens
- Radix for accessible, unstyled base components
Agreeing on this together mattered. It meant the design system would speak the same language as the codebase from day one.
How it works
Using AI, I built an editable design system on top of that stack. Designers work in a visual editor where they can:
- Edit tokens such as colors, spacing, type and radius
- Choose which tokens a component uses
- See the result in real, working components before anything ships
Every change appears in the application immediately, and the application generates the React code behind it.
What developers get
Developers pull the component exactly as the designer defined it. There's no redlining, no guessing pixels, no mismatching Figma designs, and no rebuilding from a screenshot. The design decision and the code are the same artifact.
Where it's going
The goal, not yet fully realized, is for the design system to be the single source of truth:
- A designer makes a change in the editor.
- The dev team is notified that a new version is available.
- The update is prioritized alongside the team's other work.
- The change is pushed, tested and released.
Design changes then follow the same versioned, reviewable path as any other code, instead of living in a separate file someone has to remember to check.