---
title: "Radio Group"
description: "One dot glides to the option you pick."
documentation: "https://beui.dev/react-native/radio"
markdown: "https://beui.dev/react-native/radio.md"
---

# Radio Group

> One dot glides to the option you pick.

React Native component for Expo, from beUI Native. Group: Forms. Variants: 1.

## Install

Set up beUI Native once per app first: https://beui.dev/docs/native-setup.md

```bash
npx beui-native add radio
```

Or copy the source by hand and install its libraries:

```bash
npx expo install react-native-reanimated react-native-worklets
npm install uniwind tailwindcss
```

## Links

- Source: https://github.com/starc007/beui-native/tree/main/src/components/radio
- Registry JSON with every file: https://beui.dev/native/r/radio
- Open in Expo Go: exp://u.expo.dev/93a3a95c-6dc2-4adb-b57c-efbecf859f25/--/radio?runtime-version=exposdk%3A58.0.0&channel-name=production
- Web version: https://beui.dev/components/motion/radio.md

## README

### Radio Group

Native port of [beUI Radio Group](https://beui.dev/components/motion/radio). A single-select group whose indicator dot glides to the option you pick.

```tsx
import { RadioGroup, RadioGroupItem } from "./src";

<RadioGroup value={plan} onValueChange={setPlan}>
  <RadioGroupItem value="starter" label="Starter, free" />
  <RadioGroupItem value="pro" label="Pro, $12/mo" description="Unlimited projects." />
  <RadioGroupItem value="legacy" label="Legacy plan" disabled />
</RadioGroup>

<RadioGroup defaultValue="md" orientation="horizontal">…</RadioGroup>
```

- **Glide:** one dot belongs to the group. It springs to the selected ring on beUI's `SPRING_LAYOUT` spring, which replaces the web version's shared `layoutId`. The first selection appears in place without travelling.
- **Press:** the ring springs to 92%. When you press the selected option, the dot presses with it.
- **State:** pass `value` with `onValueChange` to control it, or `defaultValue` to let it manage itself. `orientation` stacks items vertically (the default) or wraps them in a row.
- **Label and description:** `label` is the spoken name, and `description` is read as the accessibility hint. Each item's ring and text form one touch target, and `hitSlop` tops a 20-point row up to 48 points.
- **Accessibility:** the group reports the `radiogroup` role and each item reports `radio` with its checked and disabled states.
- **Reduced motion:** when the system asks for it, or `disableAnimation` is set on the group, the dot and colours change instantly with no press scale.

Items measure their position relative to the group, so they can sit inside your own wrapper views. Each item re-measures when its own layout or the group's layout changes. If an item moves without either of those changing, the dot can be left behind until the next layout.

Copy this directory, `hooks/use-reduced-motion.ts`, `styles/motion.ts`, and the semantic tokens in `styles/theme.css`.
