Skip to main content

Generative UI library

Arco

Generative UI library for Kosmos — tokens, components, blocks, and the AI assembly contract.

Why Arco

Built for generative UI

Token-driven theming

Every surface uses --arco-* design tokens. Light, dark, and custom themes without hardcoded values.

Four component tiers

Tokens → Primitives → Blocks → Containers. Blocks are the AI's unit of generation.

One registry contract

defineBlock() drives schema, validation, prompt, docs, and render — zero drift between what the AI emits and what renders.

Multi-surface adaptivity

Window size classes and form-factor policies let the same block reflow across desktop, phone, and widget surfaces.