AsterUIDocsv1.0.2

Docs / Component reference

PageHeader

Introduce a page with its title and primary action. Add metadata or a breadcrumb when it helps establish context.

Page header example

Install

sh
npx @fierst/ui@1.0.2 add page-header

Registry dependencies: theme.

Exports from ./ui/page-header: PageHeader.

Download the registry source for page-header 1.0.2.

API contracts

ts
export function PageHeader({
  title,
  description,
  eyebrow,
  breadcrumb,
  meta,
  actions,
  class: extraClass,
}: {
  title: string;
  description?: string;
  eyebrow?: string;
  breadcrumb?: View;
  meta?: View;
  actions?: View;
  class?: string;
})