Toolbar

Layout

A container for grouping related controls and actions. Provides keyboard navigation and supports various toolbar items like buttons, inputs, and separators.

Installation

bash
1npx @dinachi/cli@latest add toolbar

Run the CLI command above to automatically install the component and its dependencies.

API Reference

PropTypeDefaultDescription
orientation
'horizontal' | 'vertical''horizontal'The orientation of the toolbar
dir
'ltr' | 'rtl''ltr'The reading direction of the toolbar
loop
booleantrueWhether to loop keyboard navigation