Page Header
Title a page with its breadcrumb, status and actions.
import { PageHeader } from "@sagui/ui";Loading demo
When to use
- The top of every page inside AppShell.
- Detail pages that need a back link and a status Badge.
When not to use
- Use a card title for sections within a page.
Installation
Install the package and import the styles once. The installation guide covers the Tailwind setup.
$ npm install @sagui/uiUsage
import { PageHeader, Button } from "@sagui/ui";
<PageHeader title="Vendors" description="468 active" actions={<Button>Add vendor</Button>} />Examples
Detail
Loading demo
Accessibility
- The title is the page’s only
h1. - On phones the breadcrumb and search hide, and the actions wrap under the title.