PANEL SECTIONS
PanelSection
Bordered section with an optional heading + description + actions slot. Used inside FloatingPanel bodies.
PREVIEW
SOURCE
import { PanelSection, ButtonRow, Button } from '@objectifthunes/whiteboard'
<PanelSection
heading="Settings"
description="A bordered section."
actions={
<ButtonRow>
<Button variant="secondary">Reset</Button>
<Button>Save</Button>
</ButtonRow>
}
>
{/* body */}
</PanelSection>NOTES
The building block of a FloatingPanel body. Optional heading, description, and actions slots — pass any combination.
When actions is set, the header uses a TitleRow layout (heading left, actions right).