About
A button whose background fills with color following the cursor on hover, built with Motion for smooth radial-fill animation.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Fillable Button to your project and fits it to your theme.
Code
How Fillable Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { FillableButton } from "@/components/ui/motion-fillable-button";
export default function FillableButtonDemo() {
return (
<div className="flex min-h-[200px] w-full items-center justify-center gap-4">
<FillableButton variant="default">Hover me</FillableButton>
<FillableButton variant="outline">Outline</FillableButton>
<FillableButton variant="secondary">Secondary</FillableButton>
</div>
);
}
















