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

Your first page

Build a complete page with the Once UI skeleton in 10 minutes.
Updated 19d ago
Page skeleton
10 min · Beginner · Start
Every Once UI page follows the same skeleton: a centered main column, a max-width content area, and sections spaced with token gaps.

The page skeleton

Copy this structure for any new page:
import { Column, Row, Heading, Text, Button } from "@once-ui-system/core";

export default function HomePage() {
  return (
    <Column as="main" fillWidth horizontal="center">
      <Column maxWidth="l" paddingY="80" gap="104" fillWidth>
        {/* Section 1 — Hero */}
        <Column gap="24" horizontal="center">
          <Heading variant="display-strong-l" align="center">
            Welcome
          </Heading>
          <Text variant="body-default-m" onBackground="neutral-weak" align="center">
            Your first Once UI page.
          </Text>
          <Row gap="16" s={{ direction: "column" }}>
            <Button href="/start">Get started</Button>
            <Button variant="secondary" href="/docs">Docs</Button>
          </Row>
        </Column>

        {/* Section 2 — Features */}
        <Column gap="24">
          <Heading variant="display-strong-s">Features</Heading>
          <Row gap="24" s={{ direction: "column" }}>
            <Column
              background="surface"
              border="neutral-alpha-weak"
              radius="l"
              padding="24"
              gap="16"
              fill
            >
              <Heading variant="heading-strong-m">Semantic layout</Heading>
              <Text variant="body-default-s" onBackground="neutral-weak">
                Row, Column, Grid — props instead of CSS.
              </Text>
            </Column>
            <Column
              background="surface"
              border="neutral-alpha-weak"
              radius="l"
              padding="24"
              gap="16"
              fill
            >
              <Heading variant="heading-strong-m">Design tokens</Heading>
              <Text variant="body-default-s" onBackground="neutral-weak">
                Spacing, color, and type from a single scale.
              </Text>
            </Column>
          </Row>
        </Column>
      </Column>
    </Column>
  );
}

Anatomy

Layer
What it does
`Column as="main"`Page wrapper, centered horizontally
`maxWidth="l"`Content column — prevents edge-to-edge text
`gap="104"`Space **between** major sections
`gap="24"`Space **inside** a section
Static panels`Column` + `background="surface"` — not `Card`

Write this / not this

✅ Once UI way
❌ Common mistake
`Column as="main" fillWidth horizontal="center"``<div className="container mx-auto">`
`gap="104"` between sections`margin-bottom: 48px`
`Column` + surface props for panels`<Card>` for non-interactive boxes
`Row s={{ direction: "column" }}`CSS `@media` for stacking

Check yourself

  • Main wrapper uses Column as="main"
  • Content constrained with maxWidth="l" (or "m" for narrower pages)
  • Section gap is "104", inner gap is "24"–"40"
  • Static feature boxes use the surface recipe, not Card
  • Go deeper

    → Page skeleton pattern → Layout: Row, Column & Grid