Toolbar is a grouping component for buttons and other content.

import { Toolbar } from 'primereact/toolbar';

Toolbar provides start, center and end properties to place content at these sections.

<Toolbar start={startContent} end={endContent} />

Following is the list of structural style classes, for theming classes visit theming page.

p-toolbarMain container element.
p-toolbar-group-startLeft content container.
p-toolbar-group-centerCenter content container.
p-toolbar-group-endRight content container.
Accessibility guide documents the specification of this component based on WCAG guidelines, the implementation is in progress.

Screen Reader

Toolbar uses toolbar role for the root element, aria-orientation is not included as it defaults to horizontal. Any valid attribute is passed to the root element so you may add additional properties like aria-labelledby and aria-labelled to define the element if required.

<Toolbar aria-label="Actions">

Keyboard Support

Component does not include any interactive elements. Arbitrary content can be placed with templating and elements like buttons inside should follow the page tab sequence.