Skip to content
RivetUI

Radio Group

Lets a user select exactly one option from a visible set.

@rivetui/radio-group

Preview

Explore each composition interactively, then open its code in the same context.

With descriptions

Explain consequences inside each option when labels alone are not sufficient.

Compact grid

Short, comparable labels can share a responsive row.

Disabled option

Disable individual choices without hiding why they are unavailable.

Registry

Installation

Add the component source and its declared dependencies with the shadcn CLI.

Install component
bunx --bun shadcn@latest add @rivetui/radio-group
Inspect registry item

Public interface

API reference

Component-specific props are listed here. Native element and Base UI props continue to pass through.

PropTypeDefault
valueunknown—
defaultValueunknown—
onValueChange(value: unknown, details) => void—
disabledbooleanfalse
Rivet UI / Radio GroupComponents engineered, not decorated.