We keep your AI-generated UI in check
Machine-readable components, MCP context, and governance checks for teams shipping AI-assisted interfaces. Fast, precise, and reviewable.
Works with your AI tools
AI writes the UI. We make sure it behaves.
Hallucinated components, rogue event handlers, broken tokens — every AI-generated element tree passes through five configurable validators before it touches your codebase.
Safety
Blocks event handlers, dangerous props, and unsanitized hrefs before they reach production.
Components
Only registered design system components pass validation. No invented or hallucinated elements.
Tokens
Enforces design token usage and validates fui- prefixes across all generated styles.
Brand
Ensures generated UI respects your 5-seed theming system and brand constraints.
Accessibility
Validates WCAG AA compliance including labels, roles, contrast, and keyboard navigation.
Define. Generate. Govern.
Three steps from component definition to production-safe AI output. No magic — just a clear pipeline you can inspect at every stage.
Define your components
Write a .contract.json file next to each component. Props, usage rules, accessibility contracts, and AI hints — all in one machine-readable definition.
{
"name": "Card",
"category": "layout",
"sourcePath": "src/components/Card/index.tsx",
"propsSummary": [
"variant: default|outlined|elevated",
"padding: none|sm|md|lg (default: md)"
],
"usage": {
"when": ["Grouping related content"],
"whenNot": ["Modal content — use Dialog"]
},
"ai": {
"compositionPattern": "compound",
"subComponents": ["Header", "Title", "Body", "Footer"],
"requiredChildren": ["Body"]
},
"contract": {
"a11yRules": ["A11Y_CARD_HEADING"],
"bans": [{ "pattern": "nested-card", "message": "Never nest cards" }]
}
}AI generates via MCP
Your AI tool reads the compiled fragments.json through MCP and builds UI using only your registered components — with correct props, valid composition, and real data.
Governance validates everything
Before anything ships, five validators sweep the output. Safety, component allowlists, token compliance, brand rules, and accessibility — all checked in milliseconds.
Ready to ship AI UI you can trust?
Get started in minutes. Open source, MCP-native, and built for teams.