Skip to content

I cut a 10-day screen build to one day

One design system for an AI-native enterprise console, built in code.

The console is where enterprises govern and observe their AI: who can use which models, what it costs, what data they see, and what every agent did.

I rebuilt its design system from the hex codes up, so the developers and the AI tools they build with could ship the whole product on it.

Senior Experience Designer
Role
Sole designer · 3–5 developers
Team
One month · 2026
Timeline
The system's pieces: colour, type, buttons, a metric card, badges, a field and a table row.

01 / The challenge

A system the product had outgrown.

Designers used the old system in Figma, and developers rebuilt finished screens by hand. Faint colours and overused gradients tried to look futuristic without feeling powerful, and the components weren't built for the product's scale. One flow of three to five screens took eight to ten days of back and forth.

The opportunity

How could the system let the product grow, instead of holding it back?

After: a row. One element from the console. Sample data.

02 / The direction

Futuristic to use, not just to look at.

I explored what the brand should say: a powerful middleware, not another AI assistant. The CXO backed the direction and asked for a proof of concept, so I redesigned a few screens and set rules for every page. That proof became the brief for the whole system.

Every screen should

  • Work first, then look good
  • Lead the eye to the right action
  • Make data easy to sort, filter and read

No screen should

  • Decorate for its own sake
  • Bury people in data
  • Look futuristic at the cost of feeling clear

03 / Foundations

Every choice starts from where it's used.

Twelve-step colour ramps that pass WCAG, with brand purple at step 9, replacing 417 tokens in two overlapping families. For type, Inter, because it stays readable in dense data tables: seven sizes on a 14px base, down from fifteen on 16px, with the body weight raised to 350 for long sessions.

Twelve steps per hue, each step with one job, in a light and a dark set. Drag to compare.
Seven sizes on a 14px base, body at weight 350.

04 / Components

Built in code, on a proven base.

I built every component in code with Claude Code, on PrimeReact, restyled to the system. They live in a Storybook inside the codebase, so the system and the product are the same thing.

Button tiers, small by default, and the badges.
The metric card, and the iterations that got it there.

05 / How the team builds

Developers prompt; the system answers.

Developers build by prompting AI, and whatever they build comes from the Storybook. When a component doesn't exist, Claude creates one from the existing styling and adds it to the Storybook. I review it every day and fix new components at the source, so developers never have to think about UI.

  1. PromptA developer asks for a screen
  2. StorybookClaude builds it from the system's components
  3. New piece?Made from existing styling, added to the Storybook
  4. Daily reviewI fix it at the source, once

Every fix reaches every screen that uses it

06 / Rules for the AI

Guardrails, written down.

A CLAUDE.md in the codebase holds the rules the AI follows before it builds anything. When I gave the same correction twice, it became a rule.

An excerpt of the rules, paraphrased.

07 / Designing in code

Figma to explore, code to ship.

I design directly in code. Figma is for iteration: Claude mocks screens there through the Figma MCP, I explore and refine, and Claude builds the final screens from Figma through the same bridge.

  1. MockClaude drafts the screen in Figma, from the system
  2. ExploreI iterate on it in Figma
  3. BuildClaude builds the final screen from Figma
  4. ShipIn code, on Storybook components

A flow is built and finalised in a day

08 / Light and dark

Every piece, in light and dark.

Each ramp has a light and a dark set, so every component ships in both from the same tokens, and every page built on them gets both for free.

The same elements in light and dark. Drag to compare.

09 / Impact

Faster, and consistent by default.

The entire product is being built on the system. Screens stay consistent across it, and the CXO and the developers backed it.

1 dayTo build and finalise a flow of 3–5 screensWas 8–10 days
1 specOf 12-step colour rampsWas 417 tokens in two families
7 sizesOf type, on a 14px baseWas 15, on 16px

10 / Takeaway

The system is the core of the UX.

“A system should scale with the product, not the other way round.”

It's built to keep the product consistent, not to constrain creativity. A design system isn't just colours, type and components: it's a set of guidelines for the product, and the core of its UX, not only its UI.

Have a role in mind,
or just want to say hello?

nihar.rajhans1912@gmail.com