Previous: Baby BusinessHomeNext: JobJet

Layout UI

An AI-first design system and framework that gives people and AI agents the same components, tokens and rules.

role
Design and engineering
type
Design system and framework
stack
HTML, CSS, JavaScript, Rust
url
layoutui.com (opens in a new tab)

problem

AI agents can build an interface in seconds, but left on their own they invent components, drift on spacing and forget accessibility. Most design systems are documented for people, so agents guess.

approach

native
Plain HTML, CSS tokens and small ES modules, with no required framework or build step. The code stays readable for people and predictable for agents.
contracts
An AGENTS.md, a components.json manifest and AI docs tell agents what exists and how to use it, so they reuse components instead of inventing new ones.
checks
Native Rust tooling builds and verifies sites. Themes are checked for contrast, and the build fails when text drops below 4.5:1.
frameworks
Tested Button, Input, Dialog and Theme paths for React, Next.js, Vue, Nuxt, Angular, Svelte and Astro.

result

Layout UI is live at layoutui.com, with docs for people and an AI guide for agents. Sites build with the native layout tool, locally or from a downloadable release in CI.

Previous: Baby BusinessBack to ProjectsNext: JobJet