shadcn_ui-checkbox
Installation
SKILL.md
Shadcn UI — Checkbox
Instructions
ShadCheckbox is a control that toggles between checked and unchecked. Use value and onChanged; optional label and sublabel. For forms use ShadCheckboxFormField with id, validator, and form state.
Standalone
ShadCheckbox(
value: value,
onChanged: (v) => setState(() => value = v),
label: const Text('Accept terms and conditions'),
sublabel: const Text(
'You agree to our Terms of Service and Privacy Policy.',
),
)