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 React Button Group is a series of buttons aligned vertically or horizontally. It has several built-in features such as predefined styles, selection, nesting, different sizes, rounded corners, RTL, and UI customization.


Orientation

Align the button group component either in vertical or horizontal orientation.


Selection

Based on the type of selection, you can select one or more buttons from a group.

Radio button group for single selection

Select one button with the radio button type.

Checkbox button group for multiselection

Select one or more buttons with the check box button type.


Button group with Split and Drop-down buttons

Drop-down and split button components in the Button Group components let you nest buttons.

JavaScript Dropdown button integration in Button group

JavaScript Split button integration in Button group


Predefined styles

Several predefined styles of button are available in button group:

  • Primary
  • Success
  • Info
  • Warning
  • Danger

Rounded button group

Take the advantage of CSS styling to give button corners a rounded look in a button group.


Multicolor buttons

Differentiate each button in a group with different colors based on the actions performed with them.


Custom button group

Customize the Button Group as an outline type, in a small size, and with icons. You can also disable a particular button or all of them.


Other supported frameworks

Button Group component is also available in Blazor, Vue, Angular, and JavaScript frameworks. Check out the different Button Group platforms from the links below,


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.0standards in the design of the 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.

Built-in themes

The React Button Group supports several built-in themes such as Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and High Contrast. Users can customize any one of these built-in themes or create new themes to achieve their own desired look and feel either by simply overriding SASS variables or using our Theme Studio application.


React Button Group Code Example

Easily get started with the React Button Group using a few simple lines of TSX code example as demonstrated below. Also explore our React Button Group Example that shows you how to render and configure a Button Group Component in React.

import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
import * as React from 'react';
import './App.css';
// Import the Button.
// To render ButtonGroup.
export default class App extends React.Component {
    render() {
        return (<div className='e-btn-group'>
        <ButtonComponent>HTML</ButtonComponent>
        <ButtonComponent>CSS</ButtonComponent>
        <ButtonComponent>Javascript</ButtonComponent>
      </div>);
    }
}



80+ REACT UI COMPONENTS

Frequently Asked Questions

  • The React Button Group supports nesting, selection, and UI customization.
  • Restrict the number of button selection using single or multiple selection modes.
  • This component comes with industry-standard themes like Material, Fabric, and Bootstrap.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Touch friendly and responsive UI.
  • One of the best React Button Group in the market that offers feature-rich UI to interact with the software.
  • Expansive learning resources, such as demos and documentation to learn quickly and get started with React Button Group.

You can find our React Button Group demo, which demonstrates how to render and configure the Button Group.

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