Trusted by the world’s leading companies
Overview
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.
Radio Button Sizes
Use different sizes radio buttons (default, small, etc.) in your application.
Radio Button label
The label property is used to define the React Radio Button caption. Position the label before or after the radio button.
Custom/Fancy Radio Button
The appearance of React Radio Button UI can be customized.
Radio Button group
The React Radio Button component is used to select a single option from the logically grouped options set.
Forms support
Seamlessly supports HTML, template-driven (Angular), and reactive forms.
Built-in themes
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.
Appearance
Customize the look and feel of the Radio Button by changing its fill color, background, border, and item opacity.
Other supported frameworks
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,
Web Accessibility
- Fully supports WAI-ARIA accessibility to work with screen readers and assistive devices.
- Follows WAI-ARIA best practices for implementing keyboard interaction.
- Based on WCAG 2.0 standards, the UI visual elements such as foreground color, background color, line spacing, text, and images are designed.
- Supports right-to-left (RTL) text direction for users working with RTL languages like Hebrew, Arabic, or Persian.
React Radio Button Code Example
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 Radio Button 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'));Not sure how to create your first React Radio Button? 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 Radio Button?
- Selection of one option from predefined choices.
- Seamlessly supports HTML forms, template-driven forms (React), and reactive forms.
Simple configuration and API.
- Supports all modern browsers.
- Touch-friendly and responsive UI.
- One of the best React Radio Button in the market that offers feature-rich UI to interact with the software.
Extensive demos and documentation to learn quickly and get started with React Radio Button.
Where can I find the Syncfusion React Radio Button demo?
You can find our React Radio Button demo, which demonstrates how to render and configure the Radio Button.
Can I download and utilize the Syncfusion React Radio Button 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 Radio Button?
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.