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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The JavaScript Dropdown Menu is a graphical user interface control that lets users choose from a list of actions that can be triggered. It has built-in support for icons and their positioning, various sizes, separators, RTL, and UI customization.


You can make use of different dropdown button sizes (default and small).


Users tend to perceive visual information better than text. The JavaScript Dropdown Menu has built-in options to include an icon to the left or above the text, or provide an icon-only button.


The JavaScript dropdown popup menu is a toggleable container that holds a list of action items or custom content that will open or close when the button is clicked. You can customize all the items in a JavaScript Drop Down Menu.

Dropdown Menu in JavaScript popup with list of action items containing text and icons


Drop down menu JavaScript separator grouping similar action items

You can use a horizontal line separator to represent similar action items as a group within the list of available items.


Icon-only Dropdown Button

You can make use of the icon-only Dropdown Button without button text.

Customize position values to display the JavaScript Dropdown Menu above, to the right, or to the left of the dropdown button.


UI Customization

You can customize the JavaScript Dropdown Button size, appearance, and feel. The dropdown menu popup element is completely customizable.

You can configure a Drop Down Button in JavaScript to open the popup menu without the arrow icon.

JavaScript Drop down Menu without caret

You can configure context menu control to add submenu items in JavaScript Dropdown Menu.

JavaScript DropDown Menu popup with multi-level submenu


Other supported frameworks

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


Web accessibility

  • Fully supports WAI-ARIA accessibility to work with screen readers and assistive devices.
  • Follows WAI-ARIA best practices for implementing keyboard interaction.
  • Follows WCAG 2.0 standards in the design of UI element visuals such as foreground color, background color, line spacing, text and images.
  • Supports right-to-left (RTL) text direction for users working in right-to-left languages like Hebrew, Arabic, or Persian.

Developer-friendly APIs

In JavaScript Dropdown Menu, you have control over all the UI elements and their behaviors. It provides the best user experience to users through a rich set of developer-friendly APIs.


JavaScript Dropdown Menu Code Example

Easily get started with the Drop down Menu in JavaScript using a few simple lines of HTML and TS code example as demonstrated below. Also explore our JavaScript Dropdown Menu Example that shows you how to render and configure a Drop down Menu in JavaScript.

<div class="control-section">
    <div>
        <!--Element which is going to render-->
        <button id="element">Clipboard</button>
    </div>
</div>
import { DropDownButton, ItemModel } from '@syncfusion/ej2-splitbuttons';
//Initialize action items.
let items: ItemModel[] = [
{
    text: 'Cut'
},
{
    text: 'Copy'
},
{
    text: 'Paste'
}];
// Initialize DropDownButton component.
let drpDownBtn: DropDownButton = new DropDownButton({ items: items });
// Render initialized DropDownButton.
drpDownBtn.appendTo('#element');



80+ JAVASCRIPT UI CONTROLS

Frequently Asked Questions

The Syncfusion JS DropDown Menu provides the following features:

  • A graphical user interface control that lets users to select from a list of actions.
  • One of the best JavaScript Dropdown Menus in the market that offers a feature-rich UI.
  • The dropdown Menu has built-in options to include an icon to the left or above the text.
  • It contains a popup menu, menu divider, and separator.
  • Highly customizable interface using a Simple configuration and APIs.
  • Follows the web accessibility standards and best practices for implementing keyboard interaction.
  • Supports all modern browsers.
  • Responsive and touch friendly on mobile devices.
  • Extensive demos and documentation to learn quickly and get started with the JavaScript Dropdown Menu.

You can find our JavaScript DropDownMenu demo, which demonstrates how to render and configure DropDown Menu.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

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

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
Live Chat Icon For mobile