Prateek Singhal

Kinnect Design System · v0.1 to v0.13.1

A design system that proves itself

I rebuilt Kinnect’s design system in 17 days, with Claude Code doing the production under written rules, so every screen can prove it is on-system.

radius/8
color/brand/primary
spacing/12 · spacing/24
Icon/add · instance swap
Add newLabel/Button · Semibold 15/21

One Primary button, taken apart. Five tokens, nothing typed in by hand.

The library looked complete. The sprint files said otherwise.

Before designing anything, I measured. A read-only audit covered about 160,000 layers of the old library and two sprint files.

  • 34% of fills bound to variables
  • 26% from styles
  • 41% hard-coded

300 squares in the proportions of the old core components’ 3,400 color fills. Spacing was bound in 0 of about 57,000 layout frames.

141 variants became one set with three properties

The old Button was one property with 41 values times six states, beside 17 more button sets. Now it is Type, Size and State.

DefaultHoverPressedDisabled
PrimaryButtonButtonButtonButton
SecondaryButtonButtonButtonButton
OutlineButtonButtonButtonButton
DangerButtonButtonButtonButton
WarningButtonButtonButtonButton
SuccessButtonButtonButtonButton

142 primitives feed 155 semantic colors

Components use only the semantic layer, named the way developers name it in CSS. A brand change happens in one place.

  1. green/700#147B31color/status/successAlert, Toast, Delta Pill
  2. cyan/500#2D9CDBcolor/task-status/workingStatus Summary Bar
  3. yellow/400#F2C94Ccolor/task/flaggedTask Name Cell

Rules in a repository, hands in Figma

The key choice was to treat the AI as a teammate that follows a process, not a tool that produces pixels. Claude Code runs on a repository of instruction files: the rules load automatically, a registry says which component to use for what, and the Figma MCP gives it hands in the file. My job moved from drawing to reviewing. I approve plans, not pixels.

Designer Build the vault filters in the Sprint 25 file.

Reuse table

  • Search with a Filters buttonSearch with Filters
  • The filter list under itFilters Menu
  • Custom date rangeDate Range Panel
  • Status inside the tableSelect Cell
  • Bulk action barNONE · new pattern, closest: Floating Toolbar

Waiting for your OK before building.

Designer OK

run check.js on Sprint 25
  local components   0
  hard-coded fills   0
  clean              true
  • Show the reuse table, then wait for an OK.
  • Never create or detach a component in a screen file.
  • Anything missing is a new pattern, added in a library session.
  • A read-only script proves the file is clean.

Thirteen versions in seventeen days

Each one shipped with a changelog row, a refreshed registry and a QA pass.

  1. v0.1–0.3

    Tokens first: color, spacing, radius, type and shadow. Then the first components.

  2. v0.4.0

    More components and the dark Pro navigation, with a QA report beside it.

  3. v0.5.0

    Requirement Note: the yellow notes that keep requirements beside the screen.

  4. v0.6.0

    Buttons, filters, floating toolbars and charts.

  5. v0.8.0

    249 country flags, added by a teammate.

  6. v0.9.0

    The home header and live bank feeds, with new Tables and Bank feeds pages.

  7. v0.10.0

    Document extract search and its AI suggestions.

  8. v0.11.0

    Boards: task rows, groups, the status summary bar and its color tokens.

  9. v0.12.0

    Provider map and network view icons, added by a teammate.

  10. v0.13.0

    Boards, part two: flagging a task, comments and seven board icons.

  11. v0.13.1

    A one-line fix: the board's download button on by default.

Hours of production became minutes of review

346
variables
88
component sets, each documented
145
icons, named after Material glyphs
60%
less production time, at least, by my estimate

What I owned

  • The audit and its priorities
  • The token architecture and naming
  • Every component’s API and states
  • The rules and the team workflow
  • The approval of every plan and every publish

What Claude Code automated

  • Creating and binding 346 variables
  • Building 88 component sets and their documentation
  • QA runs and their fixes
  • The registry, key tables and changelog after each release

AI amplifies whatever system it is given

Without rules it multiplies drift. With rules it multiplies consistency. Measuring first changed the plan: the problem was governance, not missing components. And a script that says clean: true ended review debates faster than anyone’s opinion.