The React Dropdown Menu is a graphical user interface component 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 React Dropdown Menu has built-in options to include an icon to the left or above the text, or provide an icon-only button.
The 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 dropdown menu.
You can use a horizontal line separator to represent similar action items as a group within the list of available items.
You can make use of the icon-only Dropdown Button without button text.
Customize position values to display the React Dropdown Menu above, to the right, or to the left of the dropdown button.
You can customize the dropdown button size, appearance, and feel. The React dropdown menu popup element is completely customizable.
You can configure a dropdown to open the popup menu without the arrow icon.
You can configure context menu component to add submenu items in React Dropdown Menu.
In 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.
Easily get started with the React Dropdown Menu using a few simple lines of TSX code example as demonstrated below. Also explore our React Dropdown Menu Example that shows you how to render and configure a Dropdown Menu in React.
import { enableRipple } from '@syncfusion/ej2-base';
import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
import { DropDownButtonComponent, ItemModel } from '@syncfusion/ej2-react-splitbuttons';
import * as React from 'react';
import * as ReactDom from 'react-dom';
enableRipple(true);
class App extends React.Component<{}, {}> {
public items: ItemModel[] = [
{
text: 'Cut',
},
{
text: 'Copy',
},
{
text: 'Paste',
}];
public render() {
return (
<div>
<DropDownButtonComponent id="element" items = {this.items}> Clipboard </DropDownButtonComponent>
</div>
);
}
}
ReactDom.render(<App />,document.getElementById('button'));
The Dropdown Menu component is also available in Blazor, Vue, Angular, and JavaScript frameworks. Check out the different Dropdown Menu platforms from the links below,
You can find our React Dropdown Menu demo here.
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 and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
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.