Skip to content

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.

Released under the MIT License.