About
A pill-shaped button whose background slides in a color gradient on hover, with the label and arrow icon shifting to reveal the transition, ideal for call-to-action links.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Animated Gradient Button to your project and fits it to your theme.
Code
How Animated Gradient Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import ButtonAnimatedGradient from "@/components/ui/button-animated-gradient";
export default function ButtonAnimatedGradientDemo() {
return (
<div className="flex w-full h-screen items-center justify-center bg-background">
<ButtonAnimatedGradient />
</div>
);
}
















