Radio button is used to select one of many given choices. Radio buttons are shown in radio groups to show a set of related options, only one of which can be selected.
Default radio example below.
Add disabled="true" to the <base-checkbox> if need to disable the checkbox
Radio with helper text example below.
Use color="" attribute to define radio button color. Supported colors are "primary", "success", "danger", "warning" and "accent"
Run the following command to add this component to your project:
npx base-ui-cli add radio
API reference data could not be loaded. Run npm run generate:api-reference.
Content