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.
Align the button group component either in vertical or horizontal orientation.
Based on the type of selection, you can select one or more buttons from a group.
Select one button with the radio button type.
Select one or more buttons with the check box button type.
Drop-down and split button components in the Button Group components let you nest buttons.
Several predefined styles of button are available in button group:
Take the advantage of CSS styling to give button corners a rounded look in a button group.
Differentiate each button in a group with different colors based on the actions performed with them.
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.
Button Group component is also available in Blazor, Vue, Angular, and JavaScript frameworks. Check out the different Button Group platforms from the links below,
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.
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>);
}
}
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.
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.