React Theme Builder + Design Tokens: From Seeds to Production Tokens
By Conan McNichollA React theme builder is only useful if it helps your team move from visual experimentation to production-ready design tokens. Fragments approaches this with seed-based theming: you set a small number of inputs, then the system derives the tokens that style the rest of the component library.
This post shows how that workflow helps teams move faster without losing consistency.
What the React Theme Builder Is Optimizing For
Most theming systems fail in one of two ways:
- too many token decisions up front
- too little structure, which causes drift later
Fragments uses a small set of seed values (brand, neutrals, density, radius) and derives the design tokens from there. You can explore those changes in the Theme Builder and then apply the same choices in your project.
From Seeds to Production Tokens
The practical flow looks like this:
- Start in the Theme Builder to test palette, density, and radius changes.
- Share the preset URL with teammates for review.
- Apply the approved seed values in your project theme setup.
- Validate the results across your components and real screens.
This keeps design exploration and implementation aligned instead of maintaining separate “design mode” and “code mode” values.
Why This Matters for Component Libraries
A component library with design tokens is easier to maintain when token decisions are centralized and predictable. Fragments pairs the token system with documented component usage, so design changes and implementation changes stay connected.
If you are starting from scratch, use Getting Started first, then return to the Theme Builder to tune the visual system.
FAQ
Is the theme builder only for visual previewing?
No. The preview is the fast feedback loop, but the real goal is selecting seed values that drive production token output for your React project.
Do design tokens apply to all Fragments components automatically?
They apply across the library because components consume the shared token system. You should still review key screens and component states after major theme changes.
Can I use this before wiring up MCP?
Yes. Theming and MCP solve different problems. The theme system controls visual consistency, while MCP helps AI use your component metadata and tokens correctly.
CTA
Use the React Theme Builder and Design Tokens docs, then validate your setup in Getting Started and review the result across the components docs.