Skip to content

AI-native design editor. Open-source Figma alternative.

432 B
Raw Blame

title: useToolbar description: Primitive context helper for ToolbarRoot descendants.

useToolbar

useToolbar() reads the local toolbar context provided by ToolbarRoot.

Use it inside toolbar descendants that need access to tools, active state, or tool selection helpers.

Related APIs