Skip to Content
Documentation
Getting startedComponentsChartsTheming
Get Pro
Overview
Concepts

Page

Page layout with header, body, and loading states.

SourceStorybookRecipe

Users

Page content goes here.

Anatomy

import { Page } from '#components/ui/page'
<Page.Root>
  <Page.Header title="Users" />
  <Page.Body />
</Page.Root>

Examples

With actions

Add toolbar actions to the page header. Use the xs size for buttons in the header toolbar.

Users

Page content goes here.

With filters

Use the footer prop on Page.Header to render a filter bar below the page title.

Accounts

Northstar Labs

Enterprise

Active

Kite & Harbor

Growth

Trial

Arcwell Health

Enterprise

Active

Fieldnote Studio

Starter

Paused

Copperline

Growth

Active

Daybreak Energy

Enterprise

Active

With data table

Combine the page layout with a data table to build list views.

Accounts

Arcwell Health

Enterprise

Active

$9,800

Copperline

Growth

Active

$4,700

Daybreak Energy

Enterprise

Active

$15,100

Fieldnote Studio

Starter

Paused

$890

Kite & Harbor

Growth

Trial

$3,200

Northstar Labs

Enterprise

Active

$12,400

Settings variant

Use the settings variant for settings-style pages with larger headings. Pair the title with the description prop for a subtitle.

Settings

Manage your workspace preferences

Settings content goes here.

Loading

Set loading on Page.Root to show a loading overlay in the body.

Users

Props

Root

PropDefaultType
variant 'panel'
'panel' | 'settings'

The visual style of the page

loading
boolean

Show a loading overlay in the page body

skeleton
React.ReactNode

Custom loading state, rendered in the body while loading

PropDefaultType
nav
React.ReactNode

Page header navigation. Typically breadcrumbs or a back button

title
React.ReactNode

Page header title

description
React.ReactNode

Page header description

actions
React.ReactNode

Page header actions, typically a toolbar

footer
React.ReactNode

Page header footer, typically tabs

Previous

Number Input

Next

Pagination