M
MicroKit

Icon Swap Button · MicroKit

A leading icon slides out as an arrow opens in to take its place, trading without changing the button's width.

npx shadcn@latest add @microkit/icon-swap-button
Preview Icon Swap Button on MicroKit's site (opens in a new tab)
Loading the source for icon-swap-button…

icon-swap-button