Components
Radio Group
Single-choice radios — a settings picker, with a card variant for a theme selector.
Available since@crisp-ui-kit/crisp@0.11.0
A single-choice group in two shapes, measured from a settings picker. The default is a column of rows (a 16px ring that fills brand when selected + a label); the card variant is a row of bordered preview cards whose border turns brand (#266df0) when picked — an appearance Theme selector. Arrow keys move between options (roving focus).
Installation
npm install @crisp-ui-kit/crispProps
RadioGroup
Prop
Type
Radio
Prop
Type
Notes
- Semantics. A
role="radiogroup"wrappingrole="radio"buttons witharia-checked; rovingtabIndex(only the selected radio is tabbable) and ↑/↓/←/→ move + select, matching the native radio pattern. - Card variant. Each card is a bordered container (radius 16) that renders your preview as
childrenand a footer with the ring + label; the border turns brand when selected.