An on/off toggle you can tap, press or drag, with a thumb that stretches under your finger and an optional pending state for saves.
npx shadcn@latest add @hextaui/switch
switch