Once UI Handbook
Vibe coding
Introduction to vibe coding
Set up your local dev environment
Essential tools for vibe coding
Build your first Once UI app
Getting started
What is Once UI?
Install & config
Page skeleton
Your first page
Upgrade from 1.8 to 2.0
Once UI without Next.js
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
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
Forms that wire themselves
An icon rail that opens on hover
Maps without an API key
Segmented controls that slide
One EmptyState for every blank screen
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
Border radius & nested corners
Bring your own icons
Give one section its own style
Override Once UI styles without !important
A logo before you have one
Agent resources
Column, not Flex
Semantics over CSS
Typography scale
Common gotchas
Block anchors
Validate generated code
Pro block registry
Match task bundles
Block updates
Block updates changelog
TrademarkTrademark
Ctrl k
Search…
Sign up
Once UI Handbook
Vibe coding
Introduction to vibe coding
Set up your local dev environment
Essential tools for vibe coding
Build your first Once UI app
Getting started
What is Once UI?
Install & config
Page skeleton
Your first page
Upgrade from 1.8 to 2.0
Once UI without Next.js
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
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
Forms that wire themselves
An icon rail that opens on hover
Maps without an API key
Segmented controls that slide
One EmptyState for every blank screen
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
Border radius & nested corners
Bring your own icons
Give one section its own style
Override Once UI styles without !important
A logo before you have one
Agent resources
Column, not Flex
Semantics over CSS
Typography scale
Common gotchas
Block anchors
Validate generated code
Pro block registry
Match task bundles
Block updates
Block updates changelog
TrademarkTrademark
Once UIDocumentationBlog
© Once UI. All rights reserved.
Built with Aveiro
Beginner Guides

Page skeleton

The reusable page structure every Once UI page starts from.
Updated 3 months ago
Install & config
Your first page
5 min · Intermediate · Patterns
The page skeleton is the single most reused pattern in Once UI — master it and every page type becomes a variation.

The pattern

Every marketing page, docs page, dashboard, and settings screen starts here:
<Column as="main" fillWidth horizontal="center">
  <Column maxWidth="l" paddingY="80" gap="104" fillWidth>
    {/* sections go here */}
  </Column>
</Column>
Three layers:
  • Page wrapper — Column as="main" centers content horizontally
  • Content column — maxWidth="l" constrains readable width
  • Sections — direct children with gap="104" between them

Width tokens

maxWidth
Use for
"s"Narrow forms, auth pages
"m"Blog posts, focused content
"l"Marketing pages, dashboards (default)
"xl"Wide data tables, galleries

Section template

Each section inside the content column:
<Column gap="24" horizontal="center">
  <Text variant="label-default-s" onBackground="brand-medium">
    EYEBROW
  </Text>
  <Heading variant="display-strong-s" align="center">
    Section title
  </Heading>
  <Text variant="body-default-m" onBackground="neutral-weak" align="center">
    Section description
  </Text>
  {/* section content */}
</Column>
For left-aligned sections, drop horizontal="center" and align="center".

Decoration placement

Ambient backgrounds (glows, dots, MatrixFx) go on a full-bleed wrapper outside maxWidth:
<Column fillWidth horizontal="center" paddingY="80" overflow="hidden">
  <Background
    position="absolute" top="0" left="0" fill pointerEvents="none"
    gradient={{ display: true, colorStart: "brand-alpha-medium", colorEnd: "static-transparent", x: 50, y: 0, width: 150, height: 80, opacity: 60 }}
  />
  <Column zIndex={1} maxWidth="l" gap="24" horizontal="center">
    {/* hero content */}
  </Column>
</Column>
Content always gets zIndex={1}. Decoration always gets pointerEvents="none".

When to vary

Page type
Variation
Auth
maxWidth="s", single section, no gap="104"
Blog postmaxWidth="m", prose-focused
Dashboard
maxWidth="l", left-aligned sections, SplitView
ChatSplitView or full-height

Check yourself

  • Column as="main" is the outermost layout element
  • Content constrained with maxWidth
  • Sections are direct children with gap="104"

Related

→ Your first page → Spacing & rhythm → Decoration recipes: docs.once-ui.com/ai/recipes.md
Column fill
Decoration outside the maxWidth column