Once UI Handbook
Beginner Guides
What is Once UI?
Install & config
Page skeleton
Your first page
Build And Launch
How to launch a portfolio site that actually gets you hired
How to build a documentation site with MDX and Next.js
How to ship a landing page and dashboard with authentication in Next.js
How to launch a social app with Next.js and Supabase
Vibe Coding
Introduction to vibe coding
Set up your local dev environment
Essential tools for vibe coding
Build your first Once UI app
Common Patterns
Hero section
Static panel
Form layout
Highlighted card
Responsive stacking
Decoration layers
Dialog & modal
Toast & feedback
Tables & lists
Loading states
App shell navigation
Dashboard & charts
Chat & messaging
Auth & verification
Settings & split panels
Data filters & toolbar
Command palette
Pricing & plans
Accordion & FAQ
Media & uploads
Empty & error states
SEO, Open Graph, and structured data
Documentation code blocks with live preview
Carousels, galleries, and before/after comparisons
Date pickers and scheduling
Context menus and dropdown actions
Tags, chips, and multi-value inputs
Roadmap & kanban
Form inputs & controls
Progress, status & badges
Scrolling & feeds
Profile, avatars & identity
Social proof & logo clouds
Masonry & media grids
Table pagination, search & bulk selection
Banners & announcements
Footer layouts
Onboarding & first run
Waitlist & coming soon
Design Tips
Color & surfaces
Harness overview
Row, Column & Grid
Spacing & rhythm
Icons & buttons
Reveal & motion
Theme tokens, FOUC-free init, and runtime style controls
Tooltips and hover cards
Block updates
Block updates changelog
Agent Resources
Column, not Flex
Semantics over CSS
Typography scale
Common gotchas
Block anchors
Validate generated code
Pro block registry
Match task bundles
TrademarkTrademark
Ctrl k
Search...
Sign up
Once UI Handbook
Beginner Guides
What is Once UI?
Install & config
Page skeleton
Your first page
Build And Launch
How to launch a portfolio site that actually gets you hired
How to build a documentation site with MDX and Next.js
How to ship a landing page and dashboard with authentication in Next.js
How to launch a social app with Next.js and Supabase
Vibe Coding
Introduction to vibe coding
Set up your local dev environment
Essential tools for vibe coding
Build your first Once UI app
Common Patterns
Hero section
Static panel
Form layout
Highlighted card
Responsive stacking
Decoration layers
Dialog & modal
Toast & feedback
Tables & lists
Loading states
App shell navigation
Dashboard & charts
Chat & messaging
Auth & verification
Settings & split panels
Data filters & toolbar
Command palette
Pricing & plans
Accordion & FAQ
Media & uploads
Empty & error states
SEO, Open Graph, and structured data
Documentation code blocks with live preview
Carousels, galleries, and before/after comparisons
Date pickers and scheduling
Context menus and dropdown actions
Tags, chips, and multi-value inputs
Roadmap & kanban
Form inputs & controls
Progress, status & badges
Scrolling & feeds
Profile, avatars & identity
Social proof & logo clouds
Masonry & media grids
Table pagination, search & bulk selection
Banners & announcements
Footer layouts
Onboarding & first run
Waitlist & coming soon
Design Tips
Color & surfaces
Harness overview
Row, Column & Grid
Spacing & rhythm
Icons & buttons
Reveal & motion
Theme tokens, FOUC-free init, and runtime style controls
Tooltips and hover cards
Block updates
Block updates changelog
Agent Resources
Column, not Flex
Semantics over CSS
Typography scale
Common gotchas
Block anchors
Validate generated code
Pro block registry
Match task bundles
Beginner Guides

What is Once UI?

Philosophy and core ideas — semantics over CSS, tokens, and agent-first design.
Updated 19d ago
Install & config
TrademarkTrademark
Once UIDocumentationBlog
© Once UI. All rights reserved.
Built with Aveiro
5 min · Beginner · Start
Once UI turns layout and styling into semantic props — so you (and your AI agent) write less code that stays correct longer.

The idea

Most design systems give you components and leave you to wrestle with CSS. Once UI goes further: layout, color, spacing, and typography are all expressed as props on semantic components. That means:
  • <Column gap="16"> instead of flexbox boilerplate
  • background="surface" instead of hex colors
  • textVariant="display-strong-l" instead of font-size + weight classes
The goal is maintainability — for humans reading the code six months later, and for agents generating it today.

Agent-first, human-friendly

Once UI ships a codegen harness alongside the React library:
Artifact
Purpose
`rules.compact.md`Do/don't tables for layout, surfaces, motion
`catalog.json`Pick components by purpose and tags
`tasks/*.json`Intent bundles (pricing page, chat UI, auth flow)
`validate-ai-code`Mechanical check for common mistakes
Humans learn the why here on Learn. Agents load the how from the harness. Both follow the same rules.

Three principles

1. Semantics over implementation Use Row and Column — not Flex direction="row". Use Media — not <img>. The component name tells you the intent. 2. Tokens over raw values Spacing uses a fixed scale ("8", "16", "24", "104"). Colors use schemes (brand-medium, neutral-alpha-weak). Never hex, never arbitrary pixels in props. 3. Composition over configuration Pages are built by nesting Column → Column maxWidth="l" → sections. Decoration layers sit outside the content column. Patterns repeat — page skeleton, static panel, interactive card.

What you'll learn here

Section
Covers
**Start**Install, first page
**Foundations**Layout, spacing, color, type
**Patterns**Reusable compositions
**Tips**Quick fixes for common mistakes
**For agents**Harness workflow and validation

Next step

→ Install & config