@objectifthunes/whiteboard
LAYOUT

Surface

The plain floating overlay container — selection menus, legends, log panes — for chrome that lives outside a WhiteboardShell.


PREVIEW
Selection

3 lines selected — esc clears

a quiet legend

SOURCE
import { Surface, SectionTitle, MutedText } from '@objectifthunes/whiteboard'

<Surface style={{ position: 'absolute', right: 16, top: 16, width: 256 }}>
  <SectionTitle>Selection</SectionTitle>
  <MutedText size="xs">3 lines selected — esc clears</MutedText>
</Surface>

// padding="md" (default) · "sm" · "none"
NOTES

The container for overlays that float over your own stage (a 3D canvas, a map, a video) — places where FloatingPanel would be wrong because there is no whiteboard. One export instead of re-typing the surface/border/shadow trio in every app.