Design System Architecture for a 40-Person Product Team
SaaS Product Company (NDA) · 2023–2024 · Design System Build
The Situation
Four product teams had diverged into independent component libraries across four repos with no shared token layer. Engineers and designers used conflicting naming conventions — a UI change triggered 2–3x rework across every codebase. An audit found 340+ unique color values in the Figma files alone.
Discovery
Audited three Figma libraries and four React codebases simultaneously. Catalogued every component variant and identified 17 conflicting button implementations — each with slightly different prop shapes. Mapped the token hierarchy (or lack of one) from primitive hex values up to component usage.
Approach
Implemented W3C DTCG token architecture with a strict 3-tier hierarchy: primitive → semantic → component. Built Figma Variables with light/dark mode, synced via Style Dictionary to TypeScript constants. React component library rebuilt using compound component pattern with TypeScript strict mode throughout.
Outcome
Full adoption in 3 months. Color decisions reduced from 340+ values to 58 semantic tokens. Button variants unified to one API with 6 props. Teams reported ~40% reduction in design/dev handoff friction. The token pipeline became a template adopted by two partner teams.