components/bits/SectionHeader#
SectionHeader()#
The app's one section-title surface: optional icon, a title, an optional subtitle, right-aligned actions and an optional rule beneath.
Sizes come from the theme's typography scale.
Parameters#
| Parameter | Type |
|---|---|
props |
SectionHeaderProps |
Returns#
Element
SectionHeaderProps#
Properties#
action?#
Trailing controls — buttons, toggles, a count chip. Right-aligned.
dense?#
Removes the vertical padding, for headers inside an already-padded row.
divider?#
Render a <Divider> beneath the header.
icon?#
Leading glyph. Sized by the header so every section lines up.
subtitle?#
Secondary line under the title (counts, hints, the "why" of the section).
sx?#
title#
The section label. Kept as a string so the header can style it itself.
variant?#
Visual weight.
section (default) is the standard section title. page is the one-per-surface page title. overline is the small uppercase label used to divide
a form or a settings pane into bands.