Design Systems

AI-Ready

Token Architecture

AI Design System

AI Design System

AI Design System

Built with two other designers, this system replaced fragmented UI decisions with a shared, AI-readable language — from foundations through fully governed components, expressed in a three-layer variable architecture designed to be understood by people and machines alike.

Role

Design Systems Designer

Team

3 designers, cross-functional eng

Scope

Foundations → component governance

Output

Figma library + Storybook-ready specs

OS Design System: variables window with component tokens and alias chain, Button variant matrix and Button documentation cover

3

3

3

Variable layers — primitive, semantic, and component tokens

52

52

52

Components across atoms, molecules, and organisms

1,605

1,605

1,605

Total tokens governed under a single naming system

Problem

Fragmented UI decisions, inconsistent naming, and unclear component behaviour were slowing handoff and eroding trust between design and engineering.

Solution

An Atomic Design-based system with a three-layer token architecture — readable and predictable enough for designers, developers, and AI tools alike.

My role

One of three designers building the system end to end — audit, taxonomy, token architecture, component specs, and documentation.

Impact

A shared design-to-development language that made components faster to build, document, and hand off with confidence.

01 · Problem Framing & Discovery

Naming the fragmentation

Naming the fragmentation

Naming the fragmentation

before fixing it.

before fixing it.

before fixing it.

The system didn't start with components — it started with friction. UI decisions were being made independently across teams, the same interface pattern would show up with three different names, and component behaviour shifted slightly from screen to screen depending on who built it last. Handoff had become a negotiation rather than a handover, with engineers re-deriving intent from screenshots instead of specification.

Before proposing any structure, the team spent time simply listening — to designers who needed faster ways to compose screens, and to engineers who needed predictable, well-specified components they could build once and trust everywhere. Stakeholder interviews surfaced where the pain was loudest; a full UI inventory and design audit made the fragmentation visible rather than anecdotal. Heuristic review and affinity mapping turned that raw inventory into recurring patterns, and journey and task analysis grounded those patterns in how people actually worked, not just what screens happened to contain.

What emerged wasn't a wish list of components — it was a shared understanding of where naming broke down, where state and configuration needs were being solved ad hoc, and where a lack of shared vocabulary was costing real time on both sides of the design-to-development workflow.

Stakeholder Interviews

Understanding where designers and engineers each felt the friction most.

Design Audit

Cataloguing existing patterns, naming, and inconsistencies across the product.

UI Inventory

A full sweep of components in use, regardless of what they were called.

Heuristic Review

Evaluating existing patterns against usability and consistency principles.

Affinity Mapping

Clustering inventory findings into recurring interface patterns.

Journey & Task Analysis

Grounding component needs in how people actually moved through the product.

Constraints

Three designers, no dedicated systems team, and a system that needed to serve both human contributors and AI-assisted workflows from day one — which meant governance couldn't be enforced after the fact through review alone. It had to be built into the naming and structure itself.

Design Methodology

A taxonomy-first framework,

A taxonomy-first framework,

A taxonomy-first framework,

not a component checklist.

not a component checklist.

not a component checklist.

A feature project usually has one clear user. A design system has at least three constituencies pulling on the same artifact — designers composing screens, engineers implementing them, and increasingly, AI tools trying to reason about both. That plurality is why the framework prioritized a shared taxonomy and predictable naming over speed to a first shipped component, closer to how information architecture treats a large content ecosystem than how a typical feature-design process treats a single flow.

Why this structure

A conventional divergent-then-converge process ends when one solution ships. A design system doesn't converge the same way — it has to keep absorbing new components without breaking what's already live. So that discipline was borrowed specifically for the taxonomy decision, where boundaries between atom, molecule, and organism had to be settled deliberately, while the token architecture and component specs were treated as continuously iterated rather than signed off once — reviewed and adjusted as real usage surfaced friction, in the spirit of Human-Centered Design's ongoing feedback loop rather than a single validation gate.

Clustering existing patterns by user intent and structural complexity was, in effect, a card-sorting exercise applied to components instead of content — the same technique used to test whether a navigation structure matches a user's mental model, applied here to test whether "atom vs. molecule" boundaries matched how designers and engineers already thought about reuse.

01

Taxonomy as Card Sorting

Clustering existing patterns by intent and complexity, not just appearance, to test where atom/molecule/organism boundaries actually belonged.

02

Continuous Cross-Functional Critique

Design and engineering reviewed specs together throughout, not at a single handoff gate — closer to Agile UX's sprint-integrated feedback than a waterfall sign-off.

03

Naming as a Usability Surface

Semantic token names were treated as something to be understood on their own — legible to a new teammate or an AI tool without added context, not just to whoever wrote them.

04

Governance Built Into Structure

Rather than a review checklist enforced after the fact, the three-layer token hierarchy made inconsistent naming harder to produce than consistent naming — governance as a structural default, not a gate.

Who The System Serves

Three consumers.

Three consumers.

Three consumers.

One shared source of truth.

One shared source of truth.

One shared source of truth.

A design system has no end users in the usual sense — its "users" are the people and tools that build with it every day.

29

Priya Nair

Product Designer

Feature Team Contributor | Design System Consumer

Represents design-team consumers of the system

"I just want to know which component to use without pinging three people to ask."

Goals

– Compose screens quickly using existing patterns

– Trust a component looks and behaves the same everywhere

– Contribute new patterns without breaking consistency

Pain points

– The same UI pattern existed under three different names

– Unclear which variant applied to which context

– No single source of truth for spacing or color decisions

Core needs

✓ Naming she can guess correctly before she has to search

✓ Confidence a component's states are all accounted for

✓ A clear path to propose a pattern without duplicating one

✓ Documentation that answers "which one do I use" at a glance

Behavioral archetypes

Primary: Pattern Matcher

Secondary: Consistency Guardian

Tools

Figma · Storybook · Slack

Grounded in: design audit findings, UI inventory, affinity mapping

34

Tom Baxter

Frontend Engineer

Platform Team | Component Implementer

Represents engineering consumers of the system

"If I have to guess what a token means, the system has already failed."

Goals

– Implement a component once and reuse it everywhere

– Trust a token's name tells him exactly what it controls

– Avoid re-deriving design intent from screenshots

Pain points

– Handoff required re-deriving intent from screenshots

– Component behaviour drifted slightly screen to screen

– No clear mapping from design token to code variable

Core needs

✓ A token name that states its purpose, not just its value

✓ A predictable hierarchy from primitive to component token

✓ Storybook-ready specs he can build directly from

✓ A shared source of truth design can't quietly diverge from

Behavioral archetypes

Primary: Spec Translator

Secondary: Consistency Enforcer

Tools

VS Code · Storybook · GitHub

Grounded in: stakeholder interviews, heuristic review, journey & task analysis

31

Sam Okafor

Platform / Tooling Engineer

Internal Tooling Owner | AI Workflow Integrator

Represents AI-assisted tooling built on top of the system

"An AI tool is only as good as the names it's reading — ambiguous tokens just produce ambiguous code."

Goals

– Feed the design system into AI-assisted code generation reliably

– Reduce inconsistent component usage suggested by AI tools

– Build tooling that reasons about the system without a human in the loop

Pain points

– Flat, ungoverned variables gave tools no sense of hierarchy or intent

– Inconsistent naming produced inconsistent generated code

– No predictable structure to build tooling against

Core needs

✓ A layered, predictable naming hierarchy a model can reliably parse

✓ Semantic intent expressed in the name itself, not a lookup table

✓ Component governance strict enough that suggestions stay consistent

✓ A system stable enough that tooling doesn't need constant retraining

Behavioral archetypes

Primary: System Interpreter

Secondary: Reliability Seeker

Tools

Internal AI Tooling · Figma API · GitHub Actions

Grounded in: the AI-readable token strategy goals set at project outset

02 · System Architecture & Taxonomy

A shared mental model,

A shared mental model,

A shared mental model,

not just a component list.

not just a component list.

not just a component list.

Atomic Design gave the system something a flat component library couldn't: a shared mental model with clear ownership at every level. Foundations set the raw rules of the visual language. Atoms became the smallest meaningful units. Molecules combined atoms into functional patterns. Organisms assembled molecules into complete, reusable sections of interface. Everyone — designer or engineer — could point to a component and know roughly where it lived and what it was allowed to depend on.

Getting there meant going back through the audit and clustering patterns not by what they looked like, but by user intent and structural complexity. A search field and a date picker might look similarly self-contained, but one composes cleanly from smaller atoms while the other needed to be treated as its own governed molecule. Drawing those boundaries — deciding what counted as an atom versus a molecule, and what justified promotion to an organism — was as much an information architecture exercise as a visual one.

The taxonomy was designed for progressive disclosure: a new contributor could work productively at the component level without first understanding the full token architecture underneath, while a systems-literate contributor could go as deep as the primitive layer when precision mattered.

Component taxonomy board: Foundations, Atoms, Molecules and Organisms with readiness status

7

7

7

Foundations — typography, colour, icons, shadows, borders, grids, spacing

20

20

20

Atoms — the smallest meaningful interface units

18

18

18

Molecules — functional patterns composed from atoms

7

7

7

Organisms — complete, reusable sections of interface

03 · AI-Readable Token Strategy

Designing a language,

Designing a language,

Designing a language,

not organising a spreadsheet.

not organising a spreadsheet.

not organising a spreadsheet.

The token architecture was the part of the system built most deliberately for both people and machines to read. Rather than a single flat list of variables, it runs in three layers — primitives, semantics, and component tokens — each with a distinct job and a predictable relationship to the layer above it.

Primitives are the raw, foundational values: colour scales, spacing units, grid measures, type sizes, border widths, shadow depths. They carry no meaning on their own — they're simply the palette a system can draw from. Semantic tokens sit above them, and this is where semantic intent enters the system: a semantic token doesn't say "blue-500," it says surface-brand or text-critical — decoupling meaning from raw value so that a brand refresh or a dark-mode variant never requires touching a component. Component tokens sit above semantics again, giving each component its own configuration surface for variants, states, and sizing — so a button's "hover" state or a card's "elevated" variant is defined once, predictably, and reused everywhere that pattern appears.

That layered, purpose-led naming is what makes the system AI-ready in practice, not just in name. A predictable hierarchy — primitive → semantic → component — reduces the ambiguity that trips up both new team members and AI-assisted tooling trying to infer intent from a name alone. Naming something text-inverse-disabled rather than gray-3 means the purpose is legible without needing the surrounding context of a file or a conversation.

Component variables for checkbox with an alias chain from component to semantic to primitive token and the modes it responds to

Layer 1

308

308

308

Primitive Variables

Raw, foundational values — colour scales, spacing, grids, type, borders, shadows, sizes.

Layer 2

480

480

480

Semantic Variables

Purpose-led aliases expressing intent — surface, text, border, status, layout usage.

Layer 3

817

817

817

Component Variables

Component-specific tokens for consistent variants, states, sizing, and configuration.

Platform variables: control and icon sizes resolving differently on Mobile, Tablet, Desktop and TV

A trade-off I'd own

We considered a simpler two-layer model — primitives feeding component tokens directly — which would have meant fewer variables to govern overall. We chose the three-layer model instead, because without a semantic layer in between, every component ends up referencing raw values directly: visual meaning gets coupled to implementation, and a single brand-colour change means touching every component that happened to reference that value. The semantic layer costs more variables up front, but it's what lets the whole system evolve without component-level rework — a better trade for a system meant to last, and to be reasoned about by tools as well as people.

04 · Component Design & Validation

Built to compose,

Built to compose,

Built to compose,

not just to exist.

not just to exist.

not just to exist.

Every component in the library — from buttons and inputs to calendars, tables, timelines, kanban patterns, and upload flows — was defined the same way: anatomy first, then variants, states, responsive behaviour, and usage guidance. That consistency of process mattered as much as the components themselves, because it meant a contributor could pick up any component spec and already know its shape.

State mapping and edge-case analysis were where most of the real design work happened — not in the default state, but in what a component does when it's empty, loading, erroring, disabled, or overflowing with content it wasn't designed for. Accessibility review and cognitive walkthroughs ran alongside that work rather than after it, so a component's states were validated for real usability, not just visual completeness. Iterative critique with both design and engineering kept the specs honest — an elegant variant that couldn't be implemented consistently wasn't considered finished.

The payoff of that discipline shows up in composition: because atoms were built to be genuinely reusable, molecules didn't need to redecide spacing or colour logic that had already been settled at the atom level, and organisms could assemble molecules without duplicating decisions that belonged one layer down. Component governance, in practice, meant nobody had to re-litigate a decision that the system had already made.

OS/Button component set: filled, outline and ghost buttons across default, hover, pressed, focus, disabled and loading states

State Mapping & Edge-Case Analysis

Designing for empty, loading, error, and disabled states — not just the default.

Accessibility Review

Validating every state and variant against real usability, not just visual completeness.

Cognitive Walkthroughs

Testing whether a component's behaviour matched a user's actual mental model.

Iterative Critique

Reviewing specs with design and engineering together, before calling anything finished.

05 · Documentation & Developer Enablement

Documentation

Documentation

Documentation

as a product in itself.

as a product in itself.

as a product in itself.

A system is only as useful as its documentation, so we treated it as a product with its own users rather than an afterthought. Clear naming and explicit variable mapping meant a developer could trace a component token back to its semantic intent and, from there, back to the primitive it was ultimately built on — without needing to ask a designer what a value was supposed to mean.

Component specifications were written to be Storybook-ready by default: anatomy, props, states, and usage guidance structured the same way a developer would eventually need to configure and test them. That structural consistency is what made components easier to build, easier to maintain as the system grew, and easier to hand off with confidence rather than caveats.

None of this worked as a one-way handoff. The tightest feedback loops were between design and engineering directly — engineers flagging where a spec was ambiguous in practice, designers adjusting naming or structure in response. Documentation designed for findability and comprehension, not just completeness, is what turned the design-to-development workflow from a handoff into a shared reference both sides actually trusted.

How a component ships

From Figma to Storybook in six steps

An AI coding agent, connected to Figma through MCP, does the implementation. Three human checkpoints decide what actually ships.

01 · Prepare

Clean baseline

Pull the latest main, create a feature branch and run Storybook locally.

02 · Build

AI-assisted implementation

Select the component set in Figma Dev Mode. The agent builds it with existing tokens and writes stories for every variant and state.

03 · Verify · Human checkpoint

Visual QA

Compare Storybook with Figma: variants, states, spacing, tokens and accessibility. Fix differences and check again until they match.

04 · Publish

Library release

Publish the component set to the Figma library with a short changelog, so the team works from the validated version.

05 · Connect · Human checkpoint

Code Connect

Map the published component to code, then confirm Dev Mode shows the real component and props instead of generated code.

06 · Ship · Human checkpoint

Review and merge

Commit and open a PR with screenshots and the Storybook link. Merge after CI and review pass, then delete the branch.

06 · Outcome & Reflection

A shared language,

A shared language,

A shared language,

built to keep making sense.

built to keep making sense.

built to keep making sense.

What we ended up with was less a component library and more a scalable shared language — one where naming carries meaning, structure reflects intent, and governance is built into the system rather than bolted onto it afterward. That's what makes it a stronger foundation for AI-assisted design and development work going forward: a system that's legible to a person is, by the same design choices, more legible to a tool trying to reason about it.

This was very much a team effort — three designers working through audit, taxonomy, token architecture, and component specification together, with engineering embedded throughout rather than receiving the system at the end. My contribution sat mostly in the token architecture and component governance work, but the taxonomy and documentation model were shaped just as much by my collaborators.

What I learned

Governance isn't a review step — it's a naming decision made early. A system stays coherent not because people follow the rules, but because the structure makes the wrong choice harder to reach for than the right one.

What I'd carry forward

Cross-functional alignment has to happen at the taxonomy stage, not after components are already built — renegotiating boundaries later is far more expensive than settling them before any pixels are drawn.

"A system built for AI-readability is really just a system built for clarity — the same naming discipline that helps a tool infer intent is what helps the next designer on the team do the same."

AI Design System — Design Systems · UX Portfolio Case Study

Built with two collaborating designers

Omkar Sarode