Radio Group
Inputs · upstream shadcn/ui, GitHub theme
A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time.
How should we reach you?
import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group"
<RadioGroup>…</RadioGroup>Tokens it uses
--primary-foregroundfill#FFFFFF--inputborder#D1D9E0--primaryfill#1F883D--destructiveerror#CF222E--ringfocus ring#0969DAShape and type: --ds-focus-width --ds-focus-style --ds-focus-offset --ds-disabled-opacity