Radio Group

A control that lets users select a single option from a group of choices.

@radix-ui/react-radio-group

Installation


1

Install the following dependencies:

npx shadcn@latest add https://sbthemes-storev2.vercel.app/r/radio-group.json

Examples


Disabled

Advanced Label


API Reference

This component is based on the <div> element and supports all of its props and adds:

PropTypeDefault
checkedbooleanfalse
disabledbooleanfalse