brijr/ui

Lab

Radio Group

npx shadcn@latest add @brijr/radio-group

Items

Tab into each group, then use the arrow keys to see the focus ring.

unchecked
checked
disabled
disabled · checked
aria-invalid
aria-invalid · checked

Group states

defaultValue
no value
one item disabled
disabled
readOnly
required
aria-invalid on the group
value: team
controlled · RadioGroup<Plan>

Orientation

vertical (default)
horizontal · flex row

With label

Label htmlFor group

Plan

Up to 3 projects and 1 GB of storage.

Unlimited projects, shared folders and roles.

Single sign-on, audit logs and a dedicated contact.

with descriptions

Contact method

Choose how we should reach you.

aria-invalid · error text

Content

long label · wraps
many items · grid