Components
Radio group
Single-choice radio set for plans, filters, and option lists.
Composition
Anatomy
- <RadioGroup>
- <RadioGroupItem>
- <Radio />
- <RadioGroupItem>
Installation
The Control UI source installs this component from src/registry/sources/control-ui/ui/radio-group.tsx.
Dependencies
Raw code
Primary installed source
Knobs
Typed custom properties the recipe paints with. Set one on the root — style, a utility class, or a skin — and every slot inherits it.
--cui-choice-* · 9 knobsHow the cascade resolves--cui-choice-size<length-percentage>calc(var(--spacing) * 4)--cui-choice-indicator-size<length-percentage>calc(var(--cui-choice-size) * 0.75)--cui-choice-radius<length-percentage>var(--radius-sm)--cui-choice-border-color<color>var(--control-boundary)--cui-choice-border-width<length>var(--control-rim-width)--cui-choice-background<color>var(--control-fill)--cui-choice-checked-background<color>var(--primary)--cui-choice-checked-border-color<color>var(--primary)--cui-choice-shadow*var(--shadow-sm)