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
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 19d 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: 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: 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: 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 post`maxWidth="m"`, prose-focused
Dashboard`maxWidth="l"`, left-aligned sections, `SplitView`
Chat`SplitView` or full-height `Column fill`

Check yourself

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

Related

→ Your first page → Spacing & rhythm → Decoration recipes: docs.once-ui.com/ai/recipes.md
<Column as="main" fillWidth horizontal="center">
  <Column maxWidth="l" paddingY="80" gap="104" fillWidth>
    {/* sections go here */}
  </Column>
</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>
<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>