About
A leading icon slides out as an arrow opens in to take its place, trading without changing the button's width.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Icon Swap Button to your project and fits it to your theme.
Code
How Icon Swap Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { IconSwapButton } from "@/components/ui/microkit-icon-swap-button";
export default function Demo() {
return <IconSwapButton />;
}















