---
title: Radio Group
description: A set of checkable buttons where no more than one of the buttons can be checked at a time.
links:
doc: https://base-ui.com/react/components/radio#api-reference
---
## Installation
CLIManual
```bash
npx shadcn@latest add @coss/radio-group
```
Install the following dependencies:
```bash
npm install @base-ui/react
```
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 { Radio, RadioGroup } from "@/components/ui/radio-group"
```
```tsx
```
## API Reference
### RadioGroup
Root component. Styled wrapper for `RadioGroup.Root` from Base UI with flex column layout.
### Radio
Individual radio button. Styled wrapper for `Radio.Root` from Base UI with built-in indicator. Also exported as `RadioGroupItem`.
## Examples
For accessible labelling and validation, prefer using the `Field` component to wrap radio buttons. See the related example: [Radio Group field](/ui/docs/components/field#radio-group-field).
For tabs-style mutually exclusive choices, see the [Segmented Control](/ui/docs/components/segmented-control) pattern.
### Disabled
### With Description
### Card Style
### Form Integration