We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The JavaScript Toolbar is a feature-rich control that provides an interface for selecting a command from a collection of commands. Its features include different orientations, responsive modes (scrollable and pop-up), templating, and button alignment based on priority.


Rendering

Template rendering

The JavaScript Toolbar control allows you to customize the command appearance with HTML elements like images, text buttons, toggle buttons, select boxes, text boxes, and autocomplete. This helps you make toolbar search boxes and toolbar menu-like applications.

Item rendering

The JavaScript Toolbar control provides data binding support, rendered based on a JSON array collection of properties such as text, type, and alignment. Data binding can be achieved by forming an array collection of items.


Responsiveness

The JavaScript Toolbar control adapts to the available space with two types of display modes, scrollable and pop-up, for modern web and mobile applications.

JavaScript Toolbar Control with responsive mode by scrollable


Scrollable

Scrollable display mode displays Toolbar commands in a single line with horizontal scrolling enabled when the items overflow the visible space. You can swipe over the toolbar commands to scroll.


Pop-up menu

The pop-up menu is another type of overflow mode in which the toolbar container holds the items that can be placed within the available space. The items that do not fit the viewing area are moved to the overflow pop-up container. You can view the overflow tab headers by clicking the pop-up icon.

Commands display priority

You can prioritize the commands to be displayed in the pop-up or toolbar when minimum space is available to view them.

Pin items in pop-up

You can set specific items to display always in the pop-up regardless of the available space on the toolbar in JavaScript.


Multiple rows

Display the overflow toolbar items as an inline of a toolbar.

Toolbar component in multi-row mode.


Extended

Hide the overflowing toolbar items in the next row. Show the overflowing toolbar items when you click the expand icons. If the pop-up content overflows the height of the page, the rest of the elements will be hidden.

Toolbar component in extended mode.


Commands alignment

The JavaScript Toolbar library commands are positioned with left, right, or center alignment of the toolbar area.


Buttons

The JavaScript Toolbar control default command is a button type, and it can render given text input.

Icons and images

You can add icons or images with or without text to buttons. The icons can be positioned to the left or right.

Text mode

You can add button text when necessary, which means you can decide to show text in the pop-up alone, toolbar alone, or in both.


Integration with other controls

The JavaScript Toolbar can be easily integrated with other controls such as DataGrid, Scheduler, and Rich Text Editor.


Tooltip

To describe the actions of the command, a tooltip can be added. By default, HTML is supported, but the Essential JS 2 Tooltip control can also be used.


JavaScript Toolbar control with customized commands.

Command customization

The JavaScript Toolbar with rich UI provides customizable commands with styles such as CSS classes and HTML attributes such as ID, class, and styles.


Accessibility

  • Fully supports WAI-ARIA accessibility that helps the toolbar be accessible to on-screen readers and assistive devices. 
  • Follows WAI-ARIA Best Practices for implementing keyboard interaction. 
  • Follows WCG 2.0 standard in design of UI element visuals such as foreground color, background color, line spacing, text, and images.

Developer-friendly API

Developers can control the appearance and behaviors of the Toolbar using a rich set of APIs.

Built-in themes

The JavaScript Toolbar control is shipped with several built-in themes: Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and High Contrast.

Users can customize any one of these built-in themes or create new themes by either simply overriding SASS variables or using our Theme Studio application.


Other supported frameworks

The Toolbar component is also available in Blazor, React, Angular, and Vue frameworks. Check out the different Toolbar platforms from the links below,



85+ JAVASCRIPT UI CONTROLS

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon