Skip to content
Eskais UI

Layout

Page Header

Presentational page header: an eyebrow, a title at the heading level you choose, a description, an actions slot that wraps below the title on narrow screens, a breadcrumb slot and a tabs slot.

Example

Projects

Deployments

Every deploy of the last 30 days, newest first.

Installation

npx shadcn@latest add @eskais/page-header
Brings alongscroll-area

Usage

Import
import { PageHeader } from "@/components/ui/page-header"

API reference

PageHeader

PropTypeDefault
titlerequiredReactNode–
eyebrowA short kicker above the title, like the section or object type.ReactNode–
headingLevelPageHeadingLevel1
descriptionReactNode–
actionsReactNode–
breadcrumbReactNode–
tabsA slot under the title row for a TabsList. Wrap the page in Tabs so the list and its panels share one root.ReactNode–
titleIdstring–

Also takes <div> attributes except title.

Other exports

type PageHeaderPropstype PageHeadingLevel

Accessibility

  • The title is an h1 by default (headingLevel changes it) with an id for aria-labelledby.

Agent actions

Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.