---
title: ToolbarItem
description: Headless toolbar item primitive for a single editor tool.
---

# ToolbarItem

`ToolbarItem` exposes active-state and selection behavior for one toolbar tool.

Use it inside `ToolbarRoot` when you want custom button markup but shared tool-selection wiring.

## Related APIs

- [ToolbarRoot](./toolbar-root)
- [useToolbar](../advanced/use-toolbar)
- [useToolbarState](../advanced/use-toolbar-state)
