Introducing PrimeReact v11-alpha 🎉Discover Now
styledPanel

Toolbar

Toolbar is a grouping component for buttons and other content.

preview

Usage#

import { Toolbar } from '@primereact/ui/toolbar';
<Toolbar.Root>
    <Toolbar.Start />
    <Toolbar.Center />
    <Toolbar.End />
</Toolbar.Root>

Examples#

Basic#

Combines action buttons and controls in a horizontal bar.

basic-demo

Custom#

A customized toolbar with navigation bar functionality.

custom-demo

API#

Sub-Components#

See Primitive API for ToolbarRoot, ToolbarStart, ToolbarCenter, ToolbarEnd component documentation.

Hooks#

See Headless API for useToolbar hook documentation.

Accessibility#

See Toolbar Primitive for WAI-ARIA compliance details and keyboard support.