With the React RadioButton, users make a choice among a set of mutually exclusive, related options. Users can choose one and only one option.

React Buttons: Radiobutton Default Functionality

React Buttons - Radio Button Demo.

A live React example of jqxButtons, the jQWidgets Buttons component, with its complete source code below. It is one of 13 jqxButtons demos for React.

Source code

To run it in your own app, install the package with npm install jqwidgets-scripts, add these files to a Vite React and TypeScript project, and import jqx.base.css and a theme in main.tsx. Getting started with jqxButtons shows the setup step by step.

It also loads helper scripts of this demo site, which are not part of the library: demos.js (getWidth() and other layout helpers), radiobutton_defaultfunctionality.bundle.js.

body.html

<div id="app"></div>

Learn more