# HeroUI Toolbar

> Toolbar from HeroUI v3 — a container for grouping interactive controls (buttons, button groups, toggle buttons) into a single accessible bar with roving arrow-key navigation. Supports horizontal and vertical orientation, an attached variant with a surface background and full rounding, and Separator dividers between groups. Built on React Aria for full keyboard and screen-reader support; ships the real @heroui/react package with @heroui/styles BEM CSS.

- Author: [Hero Ui](https://21st.dev/@hero_ui)
- License: mit
- Tags: Toolbar, Layout, Button Group
- npm dependencies: @heroui/react, @heroui/styles
- Live preview: https://21st.dev/@hero_ui/components/heroui-toolbar

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/hero_ui/heroui-toolbar?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/toolbar.md
