openpencil/packages/docs/programmable/sdk/api/advanced/use-toolbar-state.md
2026-03-24 23:24:08 +03:00

465 B

title description
useToolbarState Presentation-oriented toolbar state helper for mobile category paging.

useToolbarState

useToolbarState() returns mobile-category paging state and helpers like goPrev() and goNext() for responsive toolbar shells.

Use it when building toolbar layouts on top of ToolbarRoot.