All components

Toolbar

A row of buttons, links, inputs and toggle groups with a single Tab stop and arrow-key navigation.

Variants

surface
plain

Sizes

With an input

Toolbar.Input joins the arrow-key order; while it has focus the caret keys edit text until the caret reaches either end.

Vertical

orientation="vertical" stacks the items, turns separators horizontal and moves focus with Up and Down.

Plain

The plain variant drops the panel chrome so the toolbar can sit inside a header or card.

Install

Source

components/ui/base-ui/toolbar.tsx