My design system: eleven patterns, three recipes, two checks

When I ask for a screen, I name a pattern ID. Claude reads my design library first, builds from the pattern and then a script checks the result.

Sarath Sabarish, 5 November 2026

A library with IDs

My design library is one page. Every interface pattern on the page has an ID, a "when to use" line, rules and a note on what I changed from the source. I studied public SaaS dashboards and redrew the patterns to my own rules. All the examples use invented data.

When I write "build the clinic home with R1" or "use P1 and P5", Claude reads the page before building anything.

Eleven patterns

  • P1 Attention queue. Rows grouped by the reason for the delay, each with an owner, an age and one action.
  • P2 Headline count. One big number with a noun, one sentence of meaning and one button.
  • P3 KPI strip. Three to five numbers in one bordered strip, each with a comparison.
  • P4 Status bar. One total split into the stages of a process.
  • P5 Where work waits. Horizontal bars in one color, sorted largest first.
  • P6 Score table. Color only the cells that break a threshold, worst first.
  • P7 Sidebar with counts. A count only where work is waiting, plus saved views.
  • P8 Filter tabs. Underlined tabs, each showing a count.
  • P9 Activity feed. Five events at most, with the event in bold.
  • P10 Page header. A title, the one count that matters and one primary button.
  • P11 Load bars. Red only above a stated limit.

Three recipes assemble a whole screen from the patterns:

R1 Front desk homeP10, P2, P3, then P8 over P1, with P9 at the side.
R2 Operations overviewP10, P3, P4, P6, P5 and P11.
R3 Record listP7, P10, P8 and the P1 rows.

House rules

These rules win over every skill and every pattern:

  • Light theme only, with dark text on a white or warm page.
  • One accent color plus neutrals. Red and amber mark only the states that need action.
  • Body text at 16px or larger, flush left, in one or two sizes per page.
  • Sentence-case labels with no added letter-spacing.
  • No frosted glass, purple gradients, pill buttons, tinted icon tiles, colored edge strips or boxes nested in boxes.
  • Every chart carries a title that states the finding and a source underneath.
  • No pressure copy, countdowns, autoplay or pre-checked boxes.

Two checks

The design checker reads a page and sorts the findings into three tiers. BAN fails the file: purple glow, frosted glass, stock photography, pressure copy, pre-checked consent, justified text and body type under 16px. WATCH needs a decision: a dark background, or a chart with no source line. COUNTED fires only past a limit per file: pill buttons, bento grids and more than two type sizes.

A second file holds the judgment rules, drawn from published design manifestos, with a quote and an author for every rule. "Color marks function" comes from Vignelli. "Cite your source" comes from Lima. Both rules reach my checker.

The checker misses some problems. I still look for descriptions that repeat a heading, captions that state the obvious and three equal cards for three unequal things.

The design loop

A small server opens a local page with an overlay. I draw on the page with an Apple Pencil, a mouse or a trackpad, pin a typed note and press Send. The server saves my notes as a list and saves a screenshot with my marks on the screenshot.

Claude reads both files and edits the page source. The page reloads on its own and I watch the change appear. Then I mark the next change. I use the loop for any local page and skip pages served by a dev server.

Sarath Sabarish builds software with AI from Chennai. Blog