Dev Design Library

Icon Swap Button

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

Icon Swap Button preview
Library
MicroKit
Framework
React
Type
component
License
MIT
Dependencies
lucide-react
Install
npx shadcn@latest add @microkit/icon-swap-button
Files
  • registry/microkit/icon-swap-button.tsx
Source
https://github.com/henriquegpb/microkit

Categories

More from MicroKit