UI / Components / foundations / RadioGroup

RadioGroup

Radio set with keyboard nav.

Grouped radios with arrow-key nav between options, single value at a time. Stylable per-option label so the group reads as a small form section.

$npx dock-ui add radio

Usage

import { RadioGroup } from "@/components/ui/radio";

<RadioGroup value={tier} onValueChange={setTier} options={tiers} />

Install

via CLI
$ npx dock-ui add radio
Writes the file(s) directly to your components/ui/ folder. You own the code.
For agents
curl -L https://ui.trydock.ai/r/radio.json
Returns a JSON manifest with file paths + contents. Agent-readable, LLM-fetchable.
← All components
Themes·Component kit · glossary
View on GitHub →