Toolbar
A row of controls with a single tab stop.
MarkdownExamples
Formatting
BoldItalicUnderline
API
| Prop | Type | Default |
|---|---|---|
labelAccessible name for the toolbar. | string | — |
orientationWhich arrow keys move between controls; also | "horizontal" | "vertical" | "horizontal" |
| Slot | Props |
|---|---|
defaultButtons, toggles, menus and other controls. | — |
Styling
- Parts
toolbar- States
data-orientation
Keyboard
| Keys | Action |
|---|---|
Tab | Enter or leave the toolbar |
← / → | Previous / next control (↑ / ↓ when vertical) |
Home / End | First / last control |
Accessibility
- Returning to the toolbar focuses the last focused control.
- Text fields keep their arrow keys for the caret.
- Nested widgets (radio groups, tabs, menus) keep their own arrow keys and count as one stop.