WHITEBOARD DASHBOARD
StickyBar
Viewport-pinned bottom bar for batch summaries and bulk actions. Offsets past the sidebar; full width under 880px.
PREVIEW
SOURCE
import { StickyBar, Inline, Button, MutedText } from '@objectifthunes/whiteboard'
{selected.length > 0 && (
<StickyBar>
<Inline justify="between">
<MutedText size="sm">{selected.length} tracks selected</MutedText>
<Inline>
<Button variant="secondary" onClick={clear}>Clear</Button>
<Button onClick={publishAll}>Publish selected</Button>
</Inline>
</Inline>
</StickyBar>
)}NOTES
Despite the name it is position: fixed, not sticky, on purpose — sticky cannot escape a small parent container. It pins to the viewport bottom, offset past the sidebar via --wb-dash-sidebar-w, and goes full width under 880px. The preview above overrides it to static so you can see the content in place.
Page already reserves 120px of bottom padding so the bar never hides the last rows — if you host it outside a Page, add that padding yourself.