Toolbar
Tool-mode icon strip — select, draw, annotate. H or V.
Loading…
Tool-mode icon strip — select, draw, annotate. H or V.
Loading…
Tool-mode switcher — select, draw, text, crop. Pass icons or single-key shortcuts.
A strip of tool-mode buttons — like the left rail in Figma or an annotator. Pass icon nodes, or a single-key shortcut shows on the button. Hover for the full label.
| Prop | Type | Default | Description |
|---|---|---|---|
| items | ToolbarItem[] | — | Toolbar buttons. |
| orientation | "horizontal" | "vertical" | horizontal | Layout direction. |
| className | string | — | Optional CSS class. |
Also copy lib/utils.ts (cn helper):