shadcn_ui-switch

Installation
SKILL.md

Shadcn UI — Switch

Instructions

ShadSwitch is a control that toggles between checked and unchecked. Use value and onChanged; optional label. For forms use ShadSwitchFormField with id, initialValue, inputLabel, inputSublabel, validator.

Standalone

ShadSwitch(
  value: value,
  onChanged: (v) => setState(() => value = v),
  label: const Text('Airplane Mode'),
)

Form field

Installs
10
GitHub Stars
8
First Seen
Apr 13, 2026
shadcn_ui-switch — serverpod/skills-registry