Skip to content
ZikZuk UI

PageHeader

Stripe FullPageView header

The top of every page: the title in 2xl bold, an optional one-line description and meta line, and the page's actions on the right — at most one primary. Secondary actions are outline buttons or live in a ⋯ menu; destructive ones never lead.

pnpm add @zikzuk/ui
import { PageHeader } from "@zikzuk/ui";

With meta and actions

Customers

Active 1,204 customers

Everyone who has paid you or holds a wallet.

When to use

  • Every page, once.
  • Put a status or an id in meta on a record-like page.

Props

PropTypeDescription
titleReactNodeThe page title.
descriptionReactNodeOne line under it.
metaReactNodeSmall facts: a status, an id.
actionsReactNodeButtons on the right; at most one primary.
iconComponentTypeRarely: an icon before the title.
titleStyleCSSPropertiesFor a view-transition morph.
classNamestringExtra classes on the outer element.