A control that allows the user to toggle between on and off states.
Install
npx shadcn@latest add switch
Preview