Toggle with icon swap on press
npx shadcn@latest add @reui/c-toggle-9
Sign in or get a license at ReUI to see its source and install it.