SectionHeader
A section title on the left with an optional foreground/muted subtitle and a component immediately after the title, separated by 12px and vertically centered. On mobile, actions sit below the title group; on wider screens they sit on the right, centered against it. The header adds no bottom margin. The title uses Funnel Display 24/30 semibold on desktop and 20/28 on mobile, with foreground/default. Spacing 4 separates the title group from the action area.
Playground
Live preview
Featured missions
Clear rewards. Practical contributions.
States and slot variants
Subtitle with outline CTA — no extra bottom margin
Missions for you
Clear rewards. Practical contributions.
Narrow viewport: section CTA below the title
Continue your hunt
Pick up your active missions.
Subtitle without actions
Your recent activity
Your latest missions.
Subtitle, title accessory and CTA
Rewards
USDCPolygon
Available on Polygon.
Badge next to the title
Featured missions
New
NetworkIdentity next to the title
Rewards
USDCPolygon
Title accessory with right actions
Featured missions
Live
Outline CTA
Featured missions
Primary CTA
Guilds to discover
CTA and category arrows, vertically centered
Featured missions
Navigation arrows only
Featured missions
No actions
Your recent activity
Long title in a narrow container
Featured opportunities for your community
Code
import { Badge, Button, IconButton, NetworkIdentity, PolygonBrandIcon, SectionHeader } from "@npolyhunter/ui";
import { ArrowLeftBoldDuotoneIcon, ArrowRightBoldDuotoneIcon } from "@npolyhunter/ui/icons";
<SectionHeader
title="Featured missions"
subtitle="Clear rewards. Practical contributions."
titleAccessory={<Badge variant="info" size="small">New</Badge>}
actions={
<>
<Button asChild variant="outline"><a href="/hunter/missions">View all</a></Button>
<IconButton aria-label="Previous category" onClick={showPrevious}>
<ArrowLeftBoldDuotoneIcon className="size-5" />
</IconButton>
<IconButton aria-label="Next category" onClick={showNext}>
<ArrowRightBoldDuotoneIcon className="size-5" />
</IconButton>
</>
}
/>;
<SectionHeader
title="Rewards"
titleAccessory={
<NetworkIdentity icon={<PolygonBrandIcon />} asset="USDC" network="Polygon" />
}
/>;Used in
Includes use through shared UI components.
AppBack Office
