Skip to content
Back to the case study

Live demo

A shared design system for AI-built apps

Same data, same story. Visibly different trust.

Sample data · fictional company

Without a system

Acme Ridge Dashboard

Revenue, year to date

$7,138,500

Gross margin

59.2 %

Net revenue retention

1.08

Revenue by Region
0123NorthSouthEastWest

With the shared system

Acme Ridge · Year to date

Revenue, year to date

On track

$7.14M

Target $6.80M

Gross margin

Watch

59.2%

Target 60.0%

Net revenue retention

On track

108%

Target 105%

West grew 61% and now leads revenue

Revenue by region, $M, year to date

West$2.16M+61%North$1.87MEast$1.67MSouth$1.44M
Direct sells almost half

Revenue by channel, year to date

$7.14MTotal
  • Direct$3.28M · 46%
  • Partner$2.29M · 32%
  • Online$1.57M · 22%

What this means

Situation
Revenue is $7.14M year to date, 5.0% ahead of plan, and every region is up on last year.
Complication
West grew 61% and now leads, but gross margin sits 0.8 pts under target because hardware is a bigger share of the mix.
Resolution
Keep West's sales capacity where it is, and reprice devices before the first quarter starts.

The story

From one-off apps to one standard.

  1. 01Before

    Every AI-built app looks different.

    Each team prompts its own way, so tiles, charts and buttons drift. Executives re-learn every dashboard.

  2. 02After

    One system: the same metric tiles and chart grammar everywhere.

    Components, tokens and chart rules live in one library that every app consumes.

  3. 03The moat

    AI coding tools are pointed at the system, so consistency is enforced by default.

    New apps start consistent instead of being cleaned up later.

In the code

Fourteen lines of guesswork, or one import.

Before
<button
  onClick={approve}
  style={{
    background: "#2f80ed",
    color: "white",
    padding: "9px 15px",
    borderRadius: 3,
    fontSize: 13,
    fontWeight: "bold",
    border: "none",
  }}
>
  Approve
</button>
After
import { Button } from "@acme/design-system";

<Button variant="primary">Approve</Button>
Add this to your app's CLAUDE.md
## UI, charts and quality

This app uses the shared design system (@acme/design-system).

- Build every screen from its components and design tokens. Never hand-roll
  buttons, tiles, tables, colors, spacing or fonts.
- Show every KPI with the MetricTile component: value, target, status,
  YTD and MoM trend.
- Follow the chart grammar: neutral color for context, the accent color for
  the series that matters, no default palettes, no unlabeled pies.
- Give every chart an action title that states the takeaway
  ("West grew 61% and now leads revenue"), not the topic ("Revenue by Region").
- Pair dashboards with a "What this means" card: situation, complication,
  resolution.
- If a component you need does not exist, stop and ask. Do not invent one.
- Before you finish, run the accessibility and docs checks
  (npm run check:a11y and npm run check:docs) and fix everything they report.

What a shared system like this typically includes

components
50+
components
design tokens
200+
design tokens
component documented and tested
Every
component documented and tested