A container for grouping a set of controls, such as buttons, toggle groups or dropdown menus.
Full keyboard navigation.
Install the component from your command line.
Import the component.
Contains all the toolbar component parts.
A button item.
A link item.
A set of two-state buttons that can be toggled on or off.
An item in the group.
Used to visually separate items in the toolbar.
All our primitives which expose a Trigger
part, such as Dialog
, AlertDialog
, Popover
, DropdownMenu
can be composed within a toolbar by using the asChild
prop.
Here is an example using our DropdownMenu
primitive.
Uses roving tabindex to manage focus movement among items.