Skip to content

Radio Group

Context-based radio group + item.

Terminal window
npx github:truongnat/rnui#cli add radio-group

or directly via the shadcn CLI:

Terminal window
npx shadcn add https://<registry-base>/r/nativewind/radio-group.json # or /uniwind/
<RadioGroup value={value} onValueChange={setValue}>
<View className="flex-row items-center gap-2">
<RadioGroupItem value="a" />
<Label>Option A</Label>
</View>
</RadioGroup>
  • components/ui/radio-group.tsx

Installs together with: utils, theme