Controls

Radio Group

One choice from a short list.

npx shadcn-svelte@latest add http://localhost:5173/r/radio-group.json

States

Arrow keys move the selection; the fill grows from the center. Pressed and focus rows are pinned.

light
Off · on
Pressed
Focus
Invalid
Disabled
dark
Off · on
Pressed
Focus
Invalid
Disabled

With labels

A Field.Set gives the group its name; each item sits in a horizontal Field so its label is clickable.

light
Appearance
Delivery
dark
Appearance
Delivery

Choice cards

light
Plan
dark
Plan