Controls

Toolbar

A compact UI container that groups multiple actions, controls, or tools for quick access and improved workflow efficiency.

Basic

This basic example highlights the most common use cases for a toolbar.

Loading...

Installation

npx shadcn@latest add @intentui/toolbar

Composed components

When you install this component via the CLI, it automatically loads all composed components, so you don’t need to add them individually.

This component comes packed with several components to enhance functionality and provide a seamless experience.

Manual installation

npm i react-aria-components

Anatomy

import { Toolbar, ToolbarGroup, ToolbarItem, ToolbarSeparator } from "@/components/ui/toolbar"
<Toolbar>
  <ToolbarGroup>
    <ToolbarItem />
    <ToolbarItem />
    <ToolbarItem />
  </ToolbarGroup>
  <ToolbarSeparator />
  <ToolbarGroup>
    <ToolbarItem />
  </ToolbarGroup>
</Toolbar>

Orientation

By default, the toolbar is displayed horizontally. You can change it to vertical using the orientation prop.

Loading...

Disabled

You can disable a toolbar either as a group or individually by using the isDisabled prop.

Loading...
Unlock the full power of
Design Intent UI
Build modern web apps faster with 500+ blocks and polished templates crafted for you.