Components•Radio Group
Components•Radio Group
Radio Group
A single-choice selector for mutually exclusive options with clear row targets.
Dependencies
Copy below cli
npx shadcn add @bjork-ui/primitive-radio-groupHow to use
import { BjorkRadioGroup } from "@/components/isaiahbjork/primitives";Props
classNamestringPass through styling hooks for the Radio Group primitive without replacing the base Bjork surface.
childrenReactNodeComposable content, labels, icons, and nested content where the primitive supports them.
valuestringStores the selected option and updates through onValueChange.
Plan picker
Use for mutually exclusive choices that need labels and icons.
<BjorkRadioGroup />