Skip to content
MCP server for your agent

Pixel-perfect UI, even when your agent writes it.

Components and engineering charts for data-heavy React apps, with an MCP server and a design linter built in.

npx dtheo@latest init
Your agent, building with dtheo/ui
  1. Build a card for the failed step test
  2. dtheo · get_componentmetric, line-chart
  3. npx dtheo add metric line-chart+3 files
  4. npx dtheo check src
  5. icon-button-labelrun-card.tsx:14
  6. Added aria-label="Rerun step test"
  7. npx dtheo check src
  8. 0 errors in 12 files
MCP calls
1
Fixes
1
Errors
0
R-0412High-gain stepNeeds retune
Overshoot17.6%Fail
Peak current30.9ANear limit
Settling203msPass
  • R-0412
  • R-0409 reference
  • Over limit
Use the left and right arrow keys to read values. Hold Shift for larger steps.
Lower Kp or raise Kd, then rerun on Bench 3.Review the run
components
36
engineering charts
8
MCP tools for agents
7
design-check rules
17
contrast pairs pass AA
116/116

Built for you and your agent

Your agent looks the system up, uses it, and checks its own work. You review less.

  • Your agent already knows it

    Seven MCP tools, llms.txt and a Markdown copy of every page.

    dtheo · MCP · connected
    • list_componentsevery component, one line each
    • get_componentcontract, props, do and don’t
    • get_component_sourcefiles ready to write
    • check_ui_codefindings with the fix
  • Contrast, proven

    Every text pair, every theme, checked on every build.

    116/116

    Pass WCAG AA
  • Mistakes caught

    17 rules for what agents get wrong, each with the fix.

    transition-alltransition-[transform,opacity]bg-blue-500bg-primary<Button size="icon">aria-label="Delete run"
  • Works on phones

    Touch-sized controls, safe areas, and the same tokens for React Native.

    R-0412Fail17.6% overshootLimit 10 %. Lower Kp, then rerun.
    • Controls grow to 36 px on touch
    • Respects notches and safe areas
    • Every page tested at phone width
    • Tokens for React Native and Expo
  • Three looks, one codebase

    Change one attribute. Components, spacing and contrast come with it.

    GraphitePass203ms settling
    Flight deckPass203ms settling
    Deep spacePass203ms settling
  • You own the code

    Copied into your repo. The shadcn CLI works too.

    $ npx dtheo add button+ components/ui/button.tsx+ components/ui/spinner.tsx+ lib/utils.ts

Charts that know what a limit is

Made for test data, telemetry and lab results: from a live 1 kHz feed to a Bode plot and a Cpk.

  • Stream chart

    Docs

    Live telemetry at 1 kHz. Anything past a limit turns red as it happens.

    • Canvas, one draw per frame
    • Spikes kept
    • Stops off screen
    Live torqueBench 3 · 1 kHz · synthetic feed
    A live chart. The latest values are listed above it; crossing a limit is announced.
    Command
    – N·m
    Torque
    – N·m
    Paused
  • Frequency chart

    Docs

    Bode plots and spectra on a log axis, with margins drawn where they are measured.

    • Gain and phase margin
    • Resonance peaks
    • One crosshair, two panes
    Open-loop responseRA-14 hip pitch · R-0412 against the R-0409 reference
    Use the left and right arrow keys to read values by frequency. Hold Shift for larger steps.
  • Scatter chart

    Docs

    Two measures across hundreds of runs, with the fit, the limit and your run called out.

    • Thousands of points
    • Least-squares fit
    • Arrow-key reading
    Gain against overshootRA-14 hip pitch · 412 step tests
    Use the arrow keys to move between points from left to right. Hold Shift for larger steps.
    • Over limit12
    • Within limit400
  • Histogram

    Docs

    A distribution against spec limits, with Cpk stated in words.

    • Spec limits
    • Cpk and a verdict
    • Normal fit
    Overshoot across all runsRA-14 hip pitch · Bench 3 · since firmware 4.16
    Use the arrow keys to move between bins. Hold Shift for larger steps.
    n
    412
    Mean
    5.6 %
    σ
    2.5 %
    Cpk
    0.60 · not capable

Also in the box:Line chartBar chartHeatmapSparkline

Every component, running live

See all

Whole apps, built only from the system

Questions

Start in one command.

npx dtheo@latest init
Read the docs