Toolbar
A horizontal toolbar container with grouped actions and separators.
Default
Toolbar with action groups separated by dividers.
Single Group
Toolbar with one group of actions.
Usage
julia
using Suite
Toolbar(
ToolbarGroup(
Button(size="icon", variant="ghost", "B"),
Button(size="icon", variant="ghost", "I"),
),
ToolbarSeparator(),
ToolbarGroup(
Button(size="icon", variant="ghost", "⌗"),
),
)API Reference
Toolbar
| Prop | Type | Default | Description |
|---|---|---|---|
| children | Any | - | ToolbarGroup and ToolbarSeparator elements |
| class | String | "" | Additional CSS classes |
| theme | Symbol | :default | Theme preset |
Sub-components
| Component | Description |
|---|---|
| ToolbarGroup | Groups related toolbar items with role="group" |
| ToolbarSeparator | Vertical divider between groups |