AI · MCP Server and Agent Skills included
React Checkbox for choices, now easier to build with AI
Add checkboxes with checked, unchecked, and indeterminate states, labels before or after the box, small sizes, custom colors and frames, form values, 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
- 3 states with indeterminate
- 2 sizes
Trusted by the world’s leading companies
Now easier with AI
Build checkbox forms faster with AI
Coding assistants write the checkbox options and events from the current docs instead of guessing.
01For developers
Describe a settings form 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 Checkbox docs and recommended patterns.
AI coding assistantMCP Server · Syncfusion React
Add a checked checkbox labeled Email updates.
search_docs“React Checkbox labels and checked state” · 2 doc sections
Excerpt: imports and sample data omitted.
+<CheckBoxComponent label="Email updates" checked={true}
+ />
Documented API: label, checked
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Show a Select all box in a mixed state when some options are checked.
search_docs“React Checkbox indeterminate state” · 2 doc sections
Excerpt: imports and sample data omitted.
+<CheckBoxComponent label="Select all"
+ indeterminate={true} />
Documented API: indeterminate
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Put the label before the box for a right-to-left form.
search_docs“React Checkbox label position and right to left” · 2 doc sections
Excerpt: imports and sample data omitted.
+<CheckBoxComponent label="Remember me"
+ labelPosition="Before"
+ enableRtl={true} />
Documented API: labelPosition, enableRtl
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Save the setting whenever the checkbox changes.
search_docs“React Checkbox change events” · 2 doc sections
Excerpt: imports and sample data omitted.
+<CheckBoxComponent label="Dark mode"
+ change={(e) => save(e.checked)} />
Documented API: change
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Use small checkboxes in the table filter.
search_docs“React Checkbox small size and custom styles” · 2 doc sections
Excerpt: imports and sample data omitted.
+<CheckBoxComponent label="In stock" cssClass="e-small"
+ />
Documented API: cssClass, e-small
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Submit the chosen sports with the form and disable Tennis.
search_docs“React Checkbox forms and disabled options” · 2 doc sections
Excerpt: imports and sample data omitted.
+<CheckBoxComponent label="Cricket" name="sport"
+ value="cricket" checked={true} />
+<CheckBoxComponent label="Tennis" name="sport"
+ value="tennis" disabled={true} />
Documented API: name, value, disabled
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Give the row selection checkbox an accessible name.
search_docs“React Checkbox keyboard and screen readers” · 2 doc sections
Excerpt: imports and sample data omitted.
+<CheckBoxComponent
+ htmlAttributes={{ 'aria-label': 'Select row' }} />
Documented API: htmlAttributes
ResultRendered in your app
AI coding assistantMCP Server · Syncfusion React
Keep the newsletter checkbox checked after the page reloads.
search_docs“React Checkbox state persistence” · 2 doc sections
Excerpt: imports and sample data omitted.
+<CheckBoxComponent id="newsletter" label="Newsletter"
+ checked={true}
+ enablePersistence={true} />
Documented API: enablePersistence
ResultRendered in your app
Accessibility
Accessible to keyboard and screen reader users
The React Checkbox component follows WAI-ARIA practices, with keyboard access and screen reader support.
- Standards
- WCAG 2.2 and Section 508
- Keyboard
- Space
- Screen readers
- Labels and states announced
- Layout
- Right-to-left and mobile support
Features in depth
React Checkbox features in depth
Open a demo to try each one, or the docs to see the API.
Custom or fancy checkboxes
Restyle the frame and checkmark with your own CSS through cssClass, for colored variants or round boxes, or override the documented CSS classes.
Forms support with name and value
Give checkboxes a name and value, and only the checked boxes send their values when the form submits. Disabled and unchecked boxes send nothing.
Accessible, right to left, and themed
The Checkbox meets WCAG 2.2 with Space key toggling and ARIA attributes, supports right-to-left layouts, and ships in Tailwind CSS, Bootstrap 5, Fluent, and high contrast themes.
Get started
Get your first checkbox 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 Checkbox patterns.Install Agent Skills
- Describe the checkboxCopy this prompt to start.
Add Syncfusion React Checkboxes to my notification settings with a Select all box that shows a mixed state when some options are checked.
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/check-box/index.css';
3 · src/App.tsx
import { CheckBoxComponent } from '@syncfusion/ej2-react-buttons';
import './App.css';
export default function App() {
return (
<CheckBoxComponent label="Email me about new orders" 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 checkbox 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.
States
Labels, sizes, and forms
Appearance
Accessibility and localization
Pure React
No feature matches that search. Try another word, or open the Checkbox demos.
Related button components:React Radio ButtonReact Toggle SwitchReact Button Group
Questions and answers
React Checkbox FAQ
What is the React Checkbox?
The Syncfusion React Checkbox extends the HTML checkbox with a label, themes, and a third indeterminate state. Users select one or more options from a set of choices. Explore the demo
How do I add a checkbox in React?
Install @syncfusion/ej2-react-buttons and the Tailwind 3 theme, import the theme CSS, and render CheckBoxComponent with a label. The getting started section on this page shows each step. Read the getting started guide
When should I use a checkbox instead of a radio button or switch?
Use checkboxes when users can pick several options, radio buttons when they pick exactly one, and a switch for one setting that takes effect at once. React Radio Button
Does the checkbox support an indeterminate state?
Yes. Set indeterminate to show a mixed state, for example on a Select all box when only some options are checked. Users cannot set this state by clicking. Read about states
How do I read the value when users check or uncheck the box?
Handle the change event, whose arguments include the new checked value, or read the checked property. 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 checkbox colors and frame?
Yes. Add your own CSS class through cssClass to recolor the box or round its frame. Read about customization
Does the checkbox work in HTML forms?
Yes. Set name and value, and checked boxes send their values when the form submits. Disabled and unchecked boxes are left out. Read about form submit
Is the React Checkbox accessible?
Yes. It meets WCAG 2.2 and Section 508, toggles with the Space key, sets aria-disabled, and supports right-to-left layouts. Read about accessibility
Can AI coding assistants build with the React Checkbox?
Yes. The Syncfusion MCP server and Agent Skills give assistants in VS Code, Cursor, and JetBrains the current Checkbox 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 Checkbox 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 Checkbox resources
Checkbox for other frameworks:AngularBlazorJavaScriptVue
More React components:Radio ButtonToggle SwitchButton GroupAll 140+ React components