shadcn_ui-radio-group
Installation
SKILL.md
Shadcn UI — Radio Group
Instructions
ShadRadioGroup<T> is a set of radio buttons where at most one can be selected. Provide items as a list of ShadRadio<T> with value and label. Use ShadRadioGroupFormField<T> inside ShadForm with id, label, items, and validator.
Standalone
ShadRadioGroup<String>(
items: [
ShadRadio(label: Text('Default'), value: 'default'),
ShadRadio(label: Text('Comfortable'), value: 'comfortable'),
ShadRadio(label: Text('Nothing'), value: 'nothing'),
],
)