byronwade/ui
Application UI

House components · Application UI

Detail Header

A resource detail page header that renders a title row with an optional badge and action buttons, followed by a responsive grid of label-over-value metadata columns.

Feature showcase

Installation

Features

  • 7 examples

    Default, Custom Title Node, Many Actions, Meta Grid Standalone, No Meta, Rich Meta Values, With Status Badges.

API

Props

PropTypeDefaultDescription
titleReact.ReactNode-The primary heading displayed in monospace font at the top of the header.
badgeReact.ReactNodeundefinedOptional badge element rendered inline next to the title.
actionsReact.ReactNodeundefinedOptional action buttons or controls rendered on the right side of the title row.
meta{ label: string; value: React.ReactNode }[]undefinedArray of label/value pairs rendered as a responsive metadata grid below the title.
classNamestringundefinedAdditional CSS classes applied to the root wrapper element.

Source and related

FilePath
Componentregistry/components/detail-header.tsx
Default examplecontent/examples/detail-header/default.tsx
Custom Title Node examplecontent/examples/detail-header/custom-title-node.tsx
Many Actions examplecontent/examples/detail-header/many-actions.tsx
Meta Grid Standalone examplecontent/examples/detail-header/meta-grid-standalone.tsx
No Meta examplecontent/examples/detail-header/no-meta.tsx
Rich Meta Values examplecontent/examples/detail-header/rich-meta-values.tsx
With Status Badges examplecontent/examples/detail-header/with-status-badges.tsx