Design tokens and component systems that scale across 20 clients
Working across 20 clients on different platforms and stacks, the biggest speedup for our team was not a framework. It was reuse.
The idea
I created reusable component systems and design-token-based UI libraries that the whole development team used across all 20 clients. Instead of rebuilding a header, a product card or a form for every project, we started from a tested component and changed the tokens.
What a design token is
A token is a named design decision: a color, a type size, a spacing step. Components never hard-code values. They reference tokens. A simplified example:
:root {
--color-brand: #1a56db;
--space-md: 1rem;
--radius-card: 8px;
}
.card {
padding: var(--space-md);
border-radius: var(--radius-card);
border: 1px solid var(--color-brand);
}Onboarding a new client's brand means changing the token values, not rewriting the components.
Why it worked at scale
- Faster builds. The development team started projects from working pieces.
- Consistency for free. The same spacing, type and states appear everywhere, so quality doesn't depend on who built the page.
- Easier maintenance. Fix a component once and every site using it benefits.
- Discoverability. Documentation and Storybook made the library easy for the whole team to find and use.
Keeping a shared library healthy
- Keep components small and composable.
- Document when to use a component, not only how.
- Resist adding client-specific options to shared components. If one client needs something unusual, extend a copy instead.
The result is a system that makes the common case fast and keeps the unusual case possible.