AI · MCP Server and Agent Skills included
React Radio Button for choices, now easier to build with AI
Let users pick one option from a group, with labels before or after the circle, small sizes, custom colors, form values, right-to-left layouts, and keyboard access. AI assistants set them up for you from the current docs.
- 4.5/5 850+ G2 reviews
- 4.6/5 950+ Capterra reviews
- WCAG 2.2 and Section 508
- One choice per group
- 2 sizes
Trusted by the world’s leading companies
Now easier with AI
Build option groups faster with AI
Coding assistants write the radio group and its events from the current docs instead of guessing.
01For developers
Describe a choice and get code that uses the documented API
The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Radio Button docs and recommended patterns.
AI coding assistantMCP Server · Syncfusion React
Let users pick Standard, Express, or Overnight shipping.
search_docs“React Radio Button radio button groups” · 2 doc sections
Excerpt: imports and sample data omitted.
+<RadioButtonComponent label="Standard" name="ship"
+ value="std" />
+<RadioButtonComponent label="Express" name="ship"
+ value="exp" checked={true} />
+<RadioButtonComponent label="Overnight" name="ship"
+ value="ovr" />
Documented API: name, value, checked
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Put the labels before the circles.
search_docs“React Radio Button label position” · 2 doc sections
Excerpt: imports and sample data omitted.
+<RadioButtonComponent label="Standard" name="ship"
+ labelPosition="Before" />
+<RadioButtonComponent label="Express" name="ship"
+ labelPosition="Before" checked={true} />
+<RadioButtonComponent label="Overnight" name="ship"
+ labelPosition="Before" />
Documented API: label, labelPosition
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Update the price when the shipping option changes.
search_docs“React Radio Button change events” · 2 doc sections
Excerpt: imports and sample data omitted.
+const [total, setTotal] = useState("$58.99");
+const setShipping = (val) =>
+ setTotal(val === "ovr" ? "$73.99" : val === "exp" ? "$58.99" : "$49.00");
+<RadioButtonComponent label="Standard, free" name="ship"
+ value="std" change={(e) => setShipping(e.value)} />
+<RadioButtonComponent label="Express, $9.99" name="ship"
+ value="exp" checked={true} change={(e) => setShipping(e.value)} />
+<RadioButtonComponent label="Overnight, $24.99" name="ship"
+ value="ovr" change={(e) => setShipping(e.value)} />
+<p>Order total updated: {total}</p>
Documented API: change
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Use small radio buttons in the filter panel.
search_docs“React Radio Button small size and custom styles” · 2 doc sections
Excerpt: imports and sample data omitted.
+<RadioButtonComponent label="Last 7 days" name="range"
+ cssClass="e-small" checked={true} />
+<RadioButtonComponent label="Last 30 days" name="range"
+ cssClass="e-small" />
+<RadioButtonComponent label="This year" name="range"
+ cssClass="e-small" />
Documented API: cssClass, e-small
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Submit the payment method with the form and disable PayPal.
search_docs“React Radio Button forms and disabled options” · 2 doc sections
Excerpt: imports and sample data omitted.
+<form>
+ <RadioButtonComponent label="Card" name="payment"
+ value="card" checked={true} />
+ <RadioButtonComponent label="PayPal" name="payment"
+ value="paypal" disabled={true} />
+ <RadioButtonComponent label="Bank transfer" name="payment"
+ value="bank" />
+ <button type="submit">Submit</button>
+</form>
Documented API: name, value, disabled
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Show the options right to left for Arabic users.
search_docs“React Radio Button right to left” · 2 doc sections
Excerpt: imports and sample data omitted.
+<RadioButtonComponent label="قياسي" name="ship"
+ enableRtl={true} />
+<RadioButtonComponent label="سريع" name="ship"
+ enableRtl={true} checked={true} />
+<RadioButtonComponent label="خلال الليل" name="ship"
+ enableRtl={true} />
Documented API: enableRtl
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Read the selected shipping option when users click Continue.
search_docs“React Radio Button read the selected value” · 2 doc sections
Excerpt: imports and sample data omitted.
+const [selected, setSelected] = useState("");
+<RadioButtonComponent label="Standard" name="ship" value="std" />
+<RadioButtonComponent ref={radio} label="Express" name="ship"
+ value="exp" checked={true} />
+<RadioButtonComponent label="Overnight" name="ship" value="ovr" />
+<button onClick={() => setSelected(radio.current.getSelectedValue())}>
+ Continue</button>
+<p>Selected value: {selected}</p>
Documented API: getSelectedValue
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Describe the shipping options for screen readers.
search_docs“React Radio Button keyboard and screen readers” · 2 doc sections
Excerpt: imports and sample data omitted.
+<RadioButtonComponent label="Standard" name="ship"
+ htmlAttributes={{ 'aria-describedby': 'ship-note' }} />
+<RadioButtonComponent label="Express" name="ship" checked={true}
+ htmlAttributes={{ 'aria-describedby': 'ship-note' }} />
+<RadioButtonComponent label="Overnight" name="ship"
+ htmlAttributes={{ 'aria-describedby': 'ship-note' }} />
Documented API: htmlAttributes
ResultRendered in your app
Accessibility
Accessible to keyboard and screen reader users
The React Radio Button component follows WAI-ARIA practices, with keyboard access and screen reader support.
- Standards
- WCAG 2.2 and Section 508
- Keyboard
- Arrow keys, Tab
- Screen readers
- aria-checked and aria-label
- Layout
- Right-to-left and mobile support
Features in depth
React Radio Button features in depth
Open a demo to try each one, or the docs to see the API.
Change events and the selected value
The change event reports the value of the option users select, and the getSelectedValue method returns the current choice in a group.
Custom radio button appearance
Define primary, success, warning, danger, or info variants with your own CSS through cssClass, or override the documented CSS classes for fill, border, and hover.
Forms support with name and value
When the form submits, only the checked option sends its value under the shared name. Disabled options cannot be selected.
Accessible, right to left, and themed
Radio buttons meet WCAG 2.2 with keyboard and screen reader support, mirror for right-to-left languages, and ship in Tailwind CSS, Bootstrap 5, Fluent, and high contrast themes.
Get started
Get your first radio button running, with or without AI
With an AI coding assistant
- Connect the Syncfusion MCP serverWorks in VS Code, Cursor, JetBrains, and other MCP-compatible assistants.Set up the MCP server
- Add Agent Skills to your projectYour agent follows Syncfusion’s recommended Radio Button patterns.Install Agent Skills
- Describe the radio buttonCopy this prompt to start.
Add Syncfusion React Radio Buttons to my checkout for Standard, Express, and Overnight shipping, with Express selected.
By hand, in three steps
1 · Install
npm install @syncfusion/ej2-react-buttons @syncfusion/ej2-tailwind3-theme --save
2 · src/App.css
@import '../node_modules/@syncfusion/ej2-tailwind3-theme/styles/radio-button/index.css';
3 · src/App.tsx
import { RadioButtonComponent } from '@syncfusion/ej2-react-buttons';
import './App.css';
export default function App() {
return (
<>
<RadioButtonComponent label="Standard" name="ship" value="std" />
<RadioButtonComponent label="Express" name="ship" value="exp" checked={true} />
</>
);
}
Works withReact 15.5.4 or laterTypeScript and JavaScriptNext.jsRemixGatsbyVitePreactSystem requirements
Customer reviews
Trusted by developers and teams
“Awesome, enough said”
Easy usability, solving real-life problems, easy to implement. Most of the cases have the operators and settings possibilities you need right away.
“A giant framework with great pricing options”
I have loved the components and options that Syncfusion has; besides, its documentation, demos, and support are excellent.
- 75%
- lower costs
- 50%
- faster development
Customer story · Igniatek
Igniatek cuts development time 50% and costs 75% with Essential Studio®
“I would definitely recommend Syncfusion for anyone who is trying to develop something meaningful.”
Somnath Maji, Founder, Igniatek Consultancy
Award-winning
Including the 2026 Devies Award, Capterra Shortlist 2026, Software Advice FrontRunners 2026, and G2 Best Software 2025.
Complete feature list
Every radio button feature, included in the license
- Every feature includedNo separate enterprise edition
- Royalty-freeNo runtime or deployment fees
- Weekly patchesPlus regular feature releases
- Expert supportFrom Syncfusion engineers
Showing all 19 features. Each one opens its demo or documentation.
Groups and selection
Appearance
Accessibility and localization
Pure React
No feature matches that search. Try another word, or open the Radio Button demos.
Related button components:React CheckboxReact Toggle SwitchReact Button Group
Questions and answers
React Radio Button FAQ
What is the React Radio Button?
The Syncfusion React Radio Button extends the HTML radio input with a label and themes. Options that share a name form a group in which users select only one. Explore the demo
How do I add radio buttons in React?
Install @syncfusion/ej2-react-buttons and the Tailwind 3 theme, import the theme CSS, and render one RadioButtonComponent per option with the same name. The getting started section on this page shows each step. Read the getting started guide
When should I use a radio button instead of a checkbox?
Use radio buttons when users must pick exactly one option from a short list. Use checkboxes when they can pick several, or none. React Checkbox
How do I group radio buttons?
Give every option in the group the same name. Selecting one option then clears the others. Read the getting started guide
How do I get the selected value?
Handle the change event, whose arguments include the selected value, or call getSelectedValue. See the API reference
Can I change the label position and size?
Yes. Set labelPosition to Before or After, and set cssClass to e-small for the compact size. Read about labels and sizes
Can I customize the radio button colors?
Yes. Add your own CSS class through cssClass to create variants such as primary, success, or danger. Read about customization
Do radio buttons work in HTML forms?
Yes. Set name and value, and the checked option sends its value when the form submits. Read about form submit
Is the React Radio Button accessible?
Yes. It meets WCAG 2.2 and Section 508, with keyboard navigation, screen reader support, and right-to-left layouts. Read about accessibility
Can AI coding assistants build with the React Radio Button?
Yes. The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Radio Button docs and recommended patterns. You need a Syncfusion API key and an active license, which can be a commercial, Community, or trial license. Set up the MCP server
Is the Syncfusion React Radio Button free?
It is a commercial component with a 30-day free trial. A free Community License is available for companies and individuals with less than $1 million USD in annual gross revenue, five or fewer developers, and 10 or fewer total employees. Check Community License eligibility
Resources
React Radio Button resources
Radio Button for other frameworks:AngularBlazorJavaScriptVue
More React components:CheckboxToggle SwitchButton GroupAll 140+ React components