The React Radio Button is a custom radio-type HTML5 input component for selecting one option from a list of predefined choices. It supports different states, sizes, labels, label positions, and UI customizations.
Use different sizes radio buttons (default, small, etc.) in your application.
The label property is used to define the React Radio Button caption. Position the label before or after the radio button.
The appearance of React Radio Button UI can be customized.
The React Radio Button is used to select a single option from the logically grouped options set.
Seamlessly supports HTML, template-driven (Angular), and reactive forms.
The React Radio button component supports built-in themes such as Bootstrap 5, Tailwind CSS, Fluent, high contrast, and more. Users can customize these built-in themes or create new themes to achieve the desired look and feel either by simply overriding SASS variables or using the Theme Studio application.
Customize the look and feel of the Radio Button by changing its fill color, background, border, and item opacity.
The Radio Button component is also available in Blazor, Vue, Angular, and JavaScript frameworks. Check out the different Radio Button platforms from the links below,
Easily get started with the React Radio Button Component using a few simple lines of TSX code example as demonstrated below. Also explore our React Radio Button Example that shows you how to render and configure a RadioButton Component in React.
import { enableRipple } from '@syncfusion/ej2-base';
import { RadioButtonComponent } from '@syncfusion/ej2-react-buttons';
import * as React from 'react';
import * as ReactDom from 'react-dom';
enableRipple(true);
// To render RadioButton.
class App extends React.Component<{}, {}> {
public render() {
return (
<ul>
<li><RadioButtonComponent label="Option 1" name="default" /></li>
<li><RadioButtonComponent label="Option 2" name="default" /></li>
</ul>
);
}
}
ReactDom.render(<App />, document.getElementById('radio-button'));
You can find our React Radio Button 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.