AsterUIDocsv1.0.2

Docs / Component reference

SectionHeader

Pair a section title with an action that applies only to that part of the page.

Section header example

Install

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

Registry dependencies: theme.

Exports from ./ui/section-header: SectionHeader.

Download the registry source for section-header 1.0.2.

API contracts

ts
export function SectionHeader({
  title,
  description,
  actions,
  class: extraClass,
}: {
  title: string;
  description?: string;
  actions?: View;
  class?: string;
})