pacekit

Gradient Shadow

Buttons 16

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

Dependencies

More by pacekit

View all
  • AI Response Writer

    AI Response Writer

    364
  • Mouse Wave Text

    Mouse Wave Text

    24
  • Bouncing Text

    Bouncing Text

    23
  • Scramble Text

    Scramble Text

    15
  • AI Suggestions

    AI Suggestions

    9
  • Squash Text

    Squash Text

    8
  • AI Model Selector

    AI Model Selector

    5
  • Radar Chart Grid Custom

    Radar Chart Grid Custom

    1

More in Buttons

View all
  • Button

    Button

    172
  • Texture Button

    Texture Button

    122
  • Button

    Button

    22
  • Button

    Button

    89
  • Button Group

    Button Group

    1
  • Button Group

    Button Group

    6
  • Button

    Button

    54
  • Native Button

    Native Button

    17