Documentation
Getting Started
Foundations
Form
Layout
Display
Navigation
Overlay
Feedback
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 toolbarRun the CLI command above to automatically install the component and its dependencies.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | 'horizontal' | 'vertical' | 'horizontal' | The orientation of the toolbar |
dir | 'ltr' | 'rtl' | 'ltr' | The reading direction of the toolbar |
loop | boolean | true | Whether to loop keyboard navigation |