Command focus
InitialStatetype-alias
Initial Toolbar values. Uses Composite defaults unless overridden.
Stateinterface
The active command and arrow-navigation policy. Formatting preferences such as bold or italic are separate application state.
StateSchemavariable
Effect Schema used by makeState to encode, decode, and hydrate Toolbar state.
makeStatefunction
Creates hydrated Toolbar state. Uses Composite defaults unless overridden.
Command registration
makeCollectionvariable
Creates a scoped Collection for Toolbar items.
Toolbar commands
Itemfunction
Renders and optionally registers a toolbar button; focus activates it unless disabled.
ItemOptionsinterface
Inputs accepted by Toolbar.Item in addition to the shared DOM host options.
Toolbar surface
Rootfunction
Renders the toolbar root and moves roving focus through registered items in DOM order.
RootOptionsinterface
Inputs accepted by Toolbar.Root in addition to the shared DOM host options.
Toolbarvariable
Consumer-facing alias of the canonical Toolbar component with identical behavior and lifetime.