Radio cards
Selectable option cards with a sliding selection ring, price and description slots, and radio keyboard behavior.
A binary choice with a precise, legible state.
npx shadcn@latest add @silicon-ui/checkboxnpx shadcn@latest add @silicon-ui/checkboxInstall the dependencies.
npm install @radix-ui/react-checkbox motionCopy these files into your project. Shared files are skipped if you already have them.
components/silicon-ui/checkbox/checkbox.tsxcomponents/silicon-ui/checkbox/checkbox.module.cssInstall the foundation once per app for the design and motion tokens: npx shadcn@latest add @silicon-ui/silicon-foundation
| Prop | Type | Default |
|---|---|---|
label | string | — |
description | string | — |
Also accepts the props of ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>.