Switches are a pleasant interface for toggling a value between two states, and offer the same semantics and keyboard navigation as native checkbox elements.
pnpm dlx shadcn@latest add "https://www.odysseyui.com/r/primitives-headless-switch.json"