Trusted by the world’s leading 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.
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>);
}
}Not sure how to create your first React Button Group? Our documentation can help.
I’d love to read it nowDiscover Syncfusion’s Complete React Component Ecosystem
Explore over 145+ React UI components featuring established, production-ready controls and the latest pure React components built natively for modern web app development.
-
React Components
-
Pure React Components
-
SMART COMPONENTSGRIDSDATA VISUALIZATIONDROPDOWNSFILE VIEWERS & EDITORSBUTTONSINTERACTIVE CHATINPUTSNAVIGATIONFORMSNOTIFICATIONS
-
GRIDSDATA VISUALIZATIONNAVIGATIONINPUTS
Frequently Asked Questions
Why should you choose Syncfusion React Button Group?
- 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.
Where can I find the Syncfusion React Button Group demo?
You can find our React Button Group demo, which demonstrates how to render and configure the Button Group.
Can I download and utilize the Syncfusion React Button Group for free?
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.
How do I get started with Syncfusion React Button Group?
A good place to start would be our comprehensive getting started documentation.
Our Customers Love Us
Here are some of their experiences.
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.