Sheet 01 / 09

Measured live by this page

UI DNA

type · measuredArchivo 800 · wdth 1250 px / .74 · −0.05em
color · probe#121211 · inksource computed-style
hover a letterits advance width ismeasured on the spot

Every interface has a blueprint.

UI DNA reads it. Your agent rebuilds it.

$ npm install -g uidna-mcp

X x-ray this page → next sheet

UI DNAType 0.3.0
Transitions replayed
73/73
Fixture A
Pixel diff at 1280 px
0.66 %
Fixture A
Breakpoints located
600 · 960 · 1100
Fixture B
Generated tests passed
111/111
Fixture B
Writes to the server
0
Fixture B
Ser. uidna-mcpMITNode ≥ 20.19

Sheet 02 / 09

Drag the slider

02 Capture

Taken apart.

Five layers per state, at every viewport.

Viewport
Viewports1280 · 768 · 390
Nodes per state71
Assets1 image
Width conditions2 · 768 · 1024
Requests that write0
  1. Layer 5 · DOM71 nodes · tags, classes, attributes
  2. Layer 4 · Accessibilityroles, names, levels, states
  3. Layer 3 · Stylescomputed, per node, per state
  4. Layer 2 · Boxesgeometry for every node
  5. Layer 1 · Screenshot1280 px · full page png

Sheet 03 / 09

Pick a state

03 Explore

Clicked, then undone.

Safe interactions only. Writes are blocked.

Interactions tried88
Transitions recorded73
Skipped, with reasons44
POST requests sent0

Network while exploring · Fixture B

GET/api/orders.json200
POSTArchive, a row actionblocked
GET/styles.css200
BEACONsent while unloadingblocked

Sheet 04 / 09

Hover a row

04 Measure

Values become tokens.

Repeated structure becomes components.

Parts list · 10 colors · 17 type styles · 12 spacing · 7 components

ItemDesignationValueKind · source

Sheet 05 / 09

Drag the frame's edge

05 Breakpoints

Breakpoints, to the pixel.

Read from the stylesheet. Confirmed by resizing.

600599 → 600960959 → 96011001099 → 1100
Fixture BMR
Orders6 orders

Collection rulebase · 6 items · identity by order idFixture B: 32 rules recorded

Sheet 06 / 09

Drag the divider

06 Generate

Named, then built.

Your agent names the parts. UI DNA writes the React.

annotate_dna · one patch from the agent

{
  "path": "/components/2",
  "set": { "name": "FeatureCard" },
  "provenance": {
    "kind": "inferred",
    "why": "3 cards share one fingerprint"
  }
}
OriginalRebuild
Revisions
RevDescriptionByKind
1Header and menu named SiteHeaderagentinferred
2Three cards named FeatureCardagentinferred
3Illustration kept as a labeled placeholder, asset not authorizedpolicyunknown

Generated · ./clone

src/
├─ App.tsx
├─ components/
│  ├─ SiteHeader.tsx    △1
│  ├─ FeatureCard.tsx   △2
│  └─ Placeholder.tsx   △3
└─ tokens.css         from the DNA
tests/
└─ behavior.spec.ts   73 transitions
tailwind.config.ts
uidna.json            the document

ReactTypeScriptTailwindVitePlaywright

Sheet 07 / 09

Pick a run

07 Verify

Every difference, listed.

Pixels, layout, styles and behavior.

Pixel diff0.66 %1280 pxpass
Pixel diff0.53 · 0.80 %768 · 390pass
Transitions73 / 73replayedpass
Breakpoints3 / 3both sidespass
Findings21one imageby design
CI · five verify attempts · it breaks the rebuild on purpose · pick an attempt

Sheet 08 / 09

Pick a pin

08 Tools

Twelve tools.

Over MCP or the CLI. One envelope.


Sheet 09 / 09

End of set

09 Start

Start with one URL.

$ npm install -g uidna-mcp

Assembly · Node 20.19 or newer

  1. 1

    Install the CLI

    npm install -g uidna-mcp
  2. 2

    Install Chromium

    npx playwright install chromium
  3. 3

    Register with your agents

    uidna setup
  4. 4

    Check the setup

    uidna doctor

Built to look, not touch

No writes Same origin Secrets redacted No login bypass