A switch turns one setting on or off, and the change applies at once.
npx shadcn@latest add https://trayui.com/r/switch.json
switch