English
Appearance
useToolbar() reads the local toolbar context provided by ToolbarRoot.
useToolbar()
ToolbarRoot
Use it inside toolbar descendants that need access to tools, active state, or tool selection helpers.