Primitives for the AI era.
Eight strict building blocks that people and AI agents compose into any interface. Every spacing, token and state is decided once. Scroll to assemble one.
Eight parts. One interface. Zero guesswork.
The agent never touched CSS. It chose primitives, and the primitives enforced the rest.
Eight primitives. Infinite screens.
Each primitive has one job, a typed contract and no opinion it can't defend. Everything else in your system is a composition.
Box
The atom. Padding, surface and radius come from tokens only.
<Box p="4" surface="raised"/>Stack
One axis, one gap. Wraps, aligns and mirrors for RTL.
<Stack gap="2"/>Grid
Tracks that collapse by content, not by breakpoint.
<Grid min="12rem"/>Text
A fixed scale with real line lengths and optical sizes.
<Text role="title"/>Surface
Elevation, blur and border as one decision.
<Surface level="2"/>Field
Label, control, hint and error, with accessibility wired in.
<Field label="Email"/>Motion
Four springs, three durations. Reduced motion respected.
<Motion enter="rise"/>Token
Colour, space, type and radius, with semantic names.
token("space.4") → 16pxOne composition. Every renderer.
Write it once. AugustCn renders the same tree natively on the web, phones, terminals and voice.
Draw less.
Decide once.
Open source under MIT. Free forever.
npx augustcn init