byronwade/ui
Application UI

Patterns · Application UI

Page Header

A dashboard page heading that renders a title, optional subtitle, and optional action slot in either a left-aligned (start) or centered layout.

Feature showcase

Installation

Features

  • 6 examples

    Default, Align, Breadcrumb Context, Description Only, With Actions, With Badge.

API

Props

PropTypeDefaultDescription
titlestring-The main heading text rendered as an h1.
descriptionstring-Optional muted subtitle rendered below the title.
childrenReact.ReactNode-Optional action elements (e.g. buttons) placed to the right of the heading (start) or below it (center).
align"start" | "center""start"Controls layout alignment: start puts actions on the right; center stacks everything and centers it.
classNamestring-Additional Tailwind classes merged onto the root wrapper element.

Source and related

FilePath
Componentregistry/components/page-header.tsx
Default examplecontent/examples/page-header/default.tsx
Align examplecontent/examples/page-header/align.tsx
Breadcrumb Context examplecontent/examples/page-header/breadcrumb-context.tsx
Description Only examplecontent/examples/page-header/description-only.tsx
With Actions examplecontent/examples/page-header/with-actions.tsx
With Badge examplecontent/examples/page-header/with-badge.tsx