Docs
Radio Group

Radio Group

A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time.

Installation

Install the following dependencies:

npm install @radix-ui/react-radio-group

Copy and paste the following code into your project.

Copy and paste the radio-group code into your project.