humanonlyweb/ui

Toolbar

A row of controls with a single tab stop.

Markdown

Examples

Formatting

BoldItalicUnderline
Copy code

API

PropTypeDefault
label

Accessible name for the toolbar.

string—
orientation

Which arrow keys move between controls; also aria-orientation.

"horizontal" | "vertical""horizontal"
SlotProps
default

Buttons, toggles, menus and other controls.

—

Styling

Parts
toolbar
States
data-orientation

Keyboard

KeysAction
TabEnter or leave the toolbar
← / →Previous / next control (↑ / ↓ when vertical)
Home / EndFirst / 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.