Header sections
The top of an inner page, with an eyebrow, the page's h1 and a line, plus buttons, an email signup, a search field or a billing switch.
Last updated
Each example is a block: a Section with a SectionHeader, centred, left-aligned or split, on the page or the brand colour. Some add buttons, an email signup, a search field or a SegmentedControl.
npx @ava-ui/apogee add header/centered
Copy is props
Every block in this family takes the same content props (PageHeaderContent in
sections/_shared/header.ts), with its sample copy as the defaults. A block
ignores the props it has no place for, so you can swap one block for another and
keep the copy. The PageHeader section takes the same names for the props they share.
-
breadcrumbs -
eyebrow: The small label above the heading. -
heading: The heading. -
description: The line under the heading. -
primaryAction: The solid button. -
secondaryAction: The outline button. -
tabs: Tab links under the title. -
tabsLabel: Name of the tabs nav. -
Pass
nullto hide an optional part, such asdescription={null}. -
Some blocks add props of their own; the top of each block’s file lists them.