Components › Actions

Toolbar

Group related actions with a shared label and regular Tab navigation.

Installation

npx plankui@latest add toolbar

Usage

import { Toolbar } from "@/components/ui/toolbar";

<Toolbar label="Text alignment">{actions}</Toolbar>

API reference

PropTypeDefaultDescription
labelstringrequiredAccessible name for the toolbar.
orientation"horizontal" | "vertical""horizontal"Which arrow keys move between controls.
childrenReactNodeButtons and other controls. The toolbar is one Tab stop; arrow keys, Home and End move between them.

View the source on GitHub