---
title: Radio Group
description: A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time.
component: true
links:
doc: https://www.radix-ui.com/docs/primitives/components/radio-group
api: https://www.radix-ui.com/docs/primitives/components/radio-group#api-reference
---
## Installation
CLIManual
```bash
npx shadcn-ui@latest add radio-group
```
Install the following dependencies:
```bash
npm install @radix-ui/react-radio-group
```
Copy and paste the following code into your project.Update the import paths to match your project setup.
## Usage
```tsx
import { Label } from "@/components/ui/label"
import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group"
```
```tsx