PanelHeader
The title row at the top of a builder panel, with room for actions.
The title row at the top of a panel — twelve builder panels use it, which is why it is worth having rather than each panel styling its own heading.
Default
Pages
Slots
leftSlot takes a back button or an icon; rightSlottakes the panel's actions. Keep the right side to one or two IconButtons — a panel header is not a toolbar.
Collections
Props
PanelHeader
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | — | Required. The panel's name. |
leftSlot | ReactNode | — | Content before the title. |
rightSlot | ReactNode | — | Actions after the title. |