About
A wrapper that adds an animated, gradient glowing shadow behind its child on hover.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Gradient Shadow to your project and fits it to your theme.
Code
How Gradient Shadow is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { GradientShadow } from "@/components/ui/gradient-shadow";
export default function GradientShadowDemo() {
return (
<div className="flex min-h-[320px] w-full items-center justify-center bg-background p-10">
<GradientShadow>
<button className="rounded-xl border border-border bg-card px-8 py-4 text-base font-medium text-card-foreground shadow-sm transition-colors">
Hover me
</button>
</GradientShadow>
</div>
);
}
















