PANEL SECTIONS
PanelTitle
Compact icon + label for a FloatingPanel's title prop.
PREVIEW
SOURCE
import { PanelTitle, FloatingPanel } from '@objectifthunes/whiteboard'
import { Settings } from 'lucide-react'
<FloatingPanel
title={<PanelTitle icon={Settings} label="Project settings" />}
defaultPosition={{ x: 40, y: 40 }}
>
…
</FloatingPanel>NOTES
Compact icon + label, sized for a FloatingPanel's title prop. Pass any Lucide-style icon component — it accepts size and className.