Switch is a boolean settings control for immediate on/off changes — not a substitute for Checkbox in forms.
npx shadcn@latest add @skrewww/switch
switch