uiable

Animated Gradient Button

Buttons 21

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>
  );
}

Dependencies

More by uiable

View all
  • Feature Highlights Grid

    Feature Highlights Grid

    341
  • Card Tabs

    Card Tabs

    101
  • Financial Bento Grid

    Financial Bento Grid

    71
  • Chart Tooltip

    Chart Tooltip

    67
  • Portfolio Showcase Grid

    Portfolio Showcase Grid

    58
  • Marketing Hero Section

    Marketing Hero Section

    58
  • Sidebar with Search and Profile

    Sidebar with Search and Profile

    50
  • Position Sonner

    Position Sonner

    48

More in Buttons

View all
  • Button

    Button

    14
  • Button

    Button

    34
  • Texture Button

    Texture Button

    92
  • Button Save

    Button Save

    46
  • Button

    Button

    64
  • Button Group

    Button Group

    3
  • App Store Button

    App Store Button

    454
  • Notification Button

    Notification Button

    103