Icon Swap Toggle โ shadcn/ui Component by reactframe | shadcnregistry
Icon Swap Toggle
component
A toggle button that swaps between two icons with a rotate, 3D flip, pop or slide: ready-made pairs for play/pause, mute, like, save, show/hide, menu/close, light/dark and copy/copied, or any two icons of your own.