AIMCP Server and Agent Skills included

React Toolbar for commands, now easier to build with AI

Group commands with icons, text, separators, and templates, align them left, center, or right, and keep them reachable with scrollable, popup, multirow, or extended overflow. AI assistants set it up for you from the current docs.

  • 4.5/5850+ G2 reviews
  • 4.6/5950+ Capterra reviews
  • WCAG 2.2and Section 508
  • 4overflow modes
  • 3item alignments

Trusted by the world’s leading companies

Syncfusion customers include Visa, Apple, McDonald’s, Netflix, Starbucks, IBM, Tesla, and Schneider Electric

Now easier with AI

Build toolbars faster with AI

Coding assistants write the Toolbar setup from the current docs instead of guessing.

01For developers

Describe a command bar and get code that uses the documented API

The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Toolbar docs and recommended patterns.

See all 27 features

AI coding assistantMCP · Syncfusion React

Add Cut, Copy, and Paste with icons, then a separator.

search_docs“React Toolbar items, icons, and separators” · 2 doc sections

+<ToolbarComponent>

<ItemsDirective>

+<ItemDirective text="Cut" prefixIcon="e-icons e-cut"

+ />

+<ItemDirective text="Copy"

+ prefixIcon="e-icons e-copy" />

+<ItemDirective text="Paste"

+ prefixIcon="e-icons e-paste" />

+ <ItemDirective type="Separator" />

</ItemsDirective>

</ToolbarComponent>

Documented API: ItemDirective, prefixIcon, type

ResultRendered in your app

AI coding assistantMCP · Syncfusion React

Move commands that do not fit into a popup.

search_docs“React Toolbar overflow modes” · 2 doc sections

+<ToolbarComponent overflowMode="Popup">

<ItemsDirective>…</ItemsDirective>

</ToolbarComponent>

Documented API: overflowMode

ResultRendered in your app

AI coding assistantMCP · Syncfusion React

Always show Bold in the toolbar and always put Print in the popup.

search_docs“React Toolbar command priority” · 2 doc sections

+<ItemDirective text="Bold" overflow="Show" />

+<ItemDirective text="Print" showAlwaysInPopup={true} />

Documented API: overflow, showAlwaysInPopup

ResultRendered in your app

AI coding assistantMCP · Syncfusion React

Show only icons in the toolbar and icons with text in the popup.

search_docs“React Toolbar text mode” · 2 doc sections

+<ItemDirective text="Undo" prefixIcon="e-icons e-undo"

+ showTextOn="Overflow" />

Documented API: showTextOn

ResultRendered in your app

AI coding assistantMCP · Syncfusion React

Put the Share and Settings buttons on the right.

search_docs“React Toolbar alignment” · 2 doc sections

+<ItemDirective text="Share" align="Right" />

+<ItemDirective text="Settings" align="Right" />

Documented API: align

ResultRendered in your app

AI coding assistantMCP · Syncfusion React

Put a font drop-down in the toolbar.

search_docs“React Toolbar templates” · 2 doc sections

+<ItemDirective type="Input"

+template={() => <DropDownListComponent dataSource={fonts} />} />

Documented API: template, type

ResultRendered in your app

AI coding assistantMCP · Syncfusion React

Add tooltips to the icon-only buttons.

search_docs“React Toolbar tooltips” · 2 doc sections

+<ItemDirective prefixIcon="e-icons e-cut"

+ tooltipText="Cut" />

+<ItemDirective prefixIcon="e-icons e-copy"

+ tooltipText="Copy" />

Documented API: tooltipText

ResultRendered in your app

AI coding assistantMCP · Syncfusion React

Give the Delete command a red style and a test ID.

search_docs“React Toolbar command customization” · 2 doc sections

+<ItemDirective text="Delete" cssClass="danger-command"

+ htmlAttributes={{ id: 'delete-btn' }} />

Documented API: cssClass, htmlAttributes

ResultRendered in your app

Accessibility

Accessible to keyboard and screen reader users

The React Toolbar component follows WAI-ARIA practices, with keyboard access and screen reader support.

Standards
WCAG 2.2 and Section 508
Keyboard
Home, End, Enter, Tab
Screen readers
aria-label and aria-orientation
Layout
Right-to-left and mobile support
Read the accessibility docs

Features in depth

React Toolbar features in depth

Open a demo to try each one, or the docs to see the API.

Buttons, icons, and separators

Button is the default item type, with text, a prefixIcon or suffixIcon, and a width. Separator items group related commands.

Overflow modes: scrollable, popup, multirow, and extended

Scrollable keeps one row with arrows and swipe. Popup moves extra commands into a drop-down, MultiRow wraps them inline, and Extended shows them in a row that opens on demand.

Command priority and popup pinning

The overflow property keeps a command in the bar or always sends it to the popup. The showAlwaysInPopup property pins items to the popup whatever the space.

Text mode for buttons

The showTextOn property shows button text in the bar, in the popup, or in both, so the bar can stay icon-only while the popup explains each command.

Left, center, and right alignment

Set align on each item to place commands on the left, center, or right of the Toolbar, such as primary actions on the left and settings on the right.

Templates for other controls

The template property renders any element in the bar, from a toggle button or link to a DropDownList, NumericTextBox, CheckBox, or Menu. Input items host Syncfusion input components.

Tooltips on commands

Set tooltipText to show hint text on hover. For richer content and theming, attach the Syncfusion Tooltip component to the Toolbar instead.

Command customization and styling

Add CSS classes with cssClass and HTML attributes such as id or role with htmlAttributes. Style the bar, items, icons, and hover state from CSS.

Integration with other components

The Toolbar works with other components such as the Data Grid, Scheduler, and Rich Text Editor, and its template property hosts other components with all their features.

Accessible, right to left, and themed

Arrow keys, Enter, and Escape operate commands and the popup, with WAI-ARIA toolbar roles for screen readers. Right-to-left layouts and Theme Studio themes are included.

Get started

Get your first toolbar running, with or without AI

With an AI coding assistant

  1. Connect the Syncfusion MCP serverWorks in VS Code, Cursor, JetBrains, and other MCP-compatible assistants.Set up the MCP server
  2. Add Agent Skills to your projectYour agent follows Syncfusion’s recommended Toolbar patterns.Install Agent Skills
  3. Describe the toolbarCopy this prompt to start.

    Add a Syncfusion React Toolbar to my editor with clipboard, formatting, and insert commands, icons and tooltips, separators, and popup overflow that keeps Bold in the bar.

By hand, in three steps

1 · Install

npm install @syncfusion/ej2-react-navigations @syncfusion/ej2-tailwind3-theme --save

2 · src/App.css

@import '../node_modules/@syncfusion/ej2-tailwind3-theme/styles/toolbar/index.css';

3 · src/App.tsx

import { ToolbarComponent, ItemsDirective, ItemDirective } from '@syncfusion/ej2-react-navigations';
import './App.css';

export default function App() {
  return (
    <ToolbarComponent overflowMode="Popup">
      <ItemsDirective>
        <ItemDirective text="Cut" prefixIcon="e-icons e-cut" />
        <ItemDirective text="Copy" prefixIcon="e-icons e-copy" />
        <ItemDirective text="Paste" prefixIcon="e-icons e-paste" />
        <ItemDirective type="Separator" />
        <ItemDirective text="Bold" prefixIcon="e-icons e-bold" />
      </ItemsDirective>
    </ToolbarComponent>
  );
}
Read the getting started guide

Works withReact 15.5.4 or laterTypeScript and JavaScriptNext.jsRemixGatsbyVitePreactSystem requirements

Customer reviews

Trusted by developers and teams

G2

4.5/5

From 850+ reviews of Essential Studio®

Read the reviews on G2

“Awesome, enough said”

Easy usability, solving real-life problems, easy to implement. Most of the cases have the operators and settings possibilities you need right away.

Oliver O.Creative and Art Direction, Small Business

“A giant framework with great pricing options”

I have loved the components and options that Syncfusion has; besides, its documentation, demos, and support are excellent.

Alejandro Javier V.CEO, Small Business
75%
lower costs
50%
faster development

Customer story · Igniatek

Igniatek cuts development time 50% and costs 75% with Essential Studio®

“I would definitely recommend Syncfusion for anyone who is trying to develop something meaningful.”

Somnath Maji, Founder, Igniatek Consultancy

Award-winning

Including the 2026 Devies Award, Capterra Shortlist 2026, Software Advice FrontRunners 2026, and G2 Best Software 2025.

Recent industry awards won by Syncfusion

Questions and answers

React Toolbar FAQ

What is the React Toolbar?

The Syncfusion React Toolbar is a container for command buttons and other controls in a row. Its overflow modes keep every command reachable when the row is too narrow. Explore the demos

How do I add a toolbar in React?

Install @syncfusion/ej2-react-navigations and the Tailwind 3 theme, import the toolbar theme CSS, and render ToolbarComponent with one ItemDirective per command. The getting started section on this page shows each step. Read the getting started guide

When should I use a Toolbar instead of a Ribbon or Menu Bar?

Use the Toolbar for a single row of frequent commands. Use the Ribbon to organize many commands into tabs and groups, and the Menu Bar for nested drop-down menus. React Ribbon

How does the toolbar handle narrow screens?

Set overflowMode to Scrollable, Popup, MultiRow, or Extended to keep every command reachable. Read about responsive modes

Can I choose which commands move to the popup first?

Yes. Set overflow to Show to keep a command in the bar or Hide to send it to the popup, and use showAlwaysInPopup to pin items there. Popup demo

Can I put drop-downs or inputs in the toolbar?

Yes. The template property renders any element or component, and the Input item type hosts Syncfusion inputs such as the DropDownList and NumericTextBox. Template demo

How do I align commands to the right?

Set align to Right on the items, Center to center them, or Left to keep them on the left. Alignment demo

Can buttons show only icons in the toolbar but text in the popup?

Yes. Set showTextOn to Overflow to show text only in the popup, or Toolbar to show it only in the bar. Read about text mode

How do I add tooltips to commands?

Set tooltipText on each item for a native tooltip, or attach the Syncfusion Tooltip component for richer content. Read about tooltips

Is the React Toolbar accessible?

Yes. It meets WCAG 2.2 and Section 508, follows the WAI-ARIA toolbar pattern, and supports keyboard navigation and right-to-left layouts. Read about accessibility

Can AI coding assistants build with the React Toolbar?

Yes. The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Toolbar docs and recommended patterns. You need a Syncfusion API key and an active license, which can be a commercial, Community, or trial license. Set up the MCP server

Is the Syncfusion React Toolbar free?

It is a commercial component with a 30-day free trial. A free Community License is available for companies and individuals with less than $1 million USD in annual gross revenue, five or fewer developers, and 10 or fewer total employees. Check Community License eligibility

Syncfusion React Toolbar

Build your React toolbars faster with AI

The full Toolbar, the MCP server, and Agent Skills, free for 30 days.

  • No credit card required
  • Free Community License for eligible teams
  • No runtime or deployment fees