Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The React Dropdown Button is a graphical user interface component designed to present a list of items or actions. It supports built-in icons with customizable positioning, three size options, separators for grouping related actions, right-to-left (RTL) layout, and extensive UI customization.


React Dropdown Button code example

Get started with the React Dropdown Button using a few simple lines of TSX code as demonstrated below. Also, explore our React Dropdown Button example that shows how to render and configure the React Dropdown Button.

import { DropDownButton } from '@syncfusion/react-splitbuttons';
import { UserIcon, EditIcon, FlagsIcon, TrashIcon, FilterIcon } from '@syncfusion/react-icons';

export default function App() {
  const items = [
    { text: 'Edit', icon: <EditIcon width={16} height={16} />, },
    { text: 'Flagged', icon: <FlagsIcon width={16} height={16} />, },
    { text: 'Remove', icon: <TrashIcon width={16} height={16} />, }
  ];
  return (
    <div className='dropdown-center'>
      <DropDownButton items={items} >Default</DropDownButton>
    </div>
  );
}

Supports three size options, small, medium, and large, to accommodate various interface layouts and design requirements.

React Dropdown sizes


React Dropdown icons

The React Dropdown Button component enhances visual presentation by allowing the inclusion of icons alongside menu item text. Icons can be positioned to the left or above the text, or used as standalone icon-only options displayed without accompanying text.


Pop-up menu

The pop-up 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. All the items in the pop-up menu are customizable.

React Dropdown pop-up menu with a list of action items containing text and icons


React Dropdown Menu separator grouping similar action items

Divider and separator

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


The React Dropdown Button can be configured to display a pop-up menu without showing the arrow icon, offering a cleaner design.

React Dropdown button without arrow


UI customization

The React Dropdown Button component offers extensive customization options, including control over size, appearance, and interaction behavior. The pop-up menu element is fully customizable, allowing developers to tailor its layout, styling, and content to meet specific design requirements.


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 visual elements 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

The Dropdown Button provides control over all the UI elements and their behaviors. It offers the best user experience through a rich set of developer-friendly APIs.




Pure React Components

Developed using React’s core principles, this library employs functional components and hooks without any external dependencies.

Frequently Asked Questions

  • Built-in support for primary, success, warning, info, and error button styles.
  • Automatic collision detection and handling with pop-up menu flip-and-fit.
  • Quick configuration for pop-up menu item customization.
  • One of the best React Dropdown Buttons on the market.
  • Simple configuration and APIs.

  • Supports all modern browsers.
  • Touch-friendly and responsive.
  • Expansive learning demos help you learn quickly and get started fast.

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, five or fewer developers, and 10 or fewer employees.

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



Rated by users across the globe

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

Syncfusion React Dropdown Button resources

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