Pace UI

Gradient Shadow

Cards

About

A wrapper that gives any element an animated, glowing multicolor gradient shadow that flows 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/motion-gradient-shadow";

export default function GradientShadowDemo() {
  return (
    <div className="flex h-screen w-full items-center justify-center bg-background">
      <GradientShadow>
        <div className="rounded-md bg-card border border-border px-8 py-6 text-card-foreground">
          <p className="text-sm font-medium">Hover over this card</p>
        </div>
      </GradientShadow>
    </div>
  );
}

Dependencies

More by Pace UI

View all
  • Dot Loader

    Dot Loader

    965
  • Flip Reveal

    Flip Reveal

    670
  • Dot Flow

    Dot Flow

    270
  • Draw Line Text

    Draw Line Text

    122
  • Liquid Glass

    Liquid Glass

    65
  • Liquid Cursor

    Liquid Cursor

    51
  • Layered Stack

    Layered Stack

    48
  • Calendar Heatmap Chart

    Calendar Heatmap Chart

    21

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Approval Card

    Approval Card

    37
  • Card Studio

    Card Studio

    37
  • Stats cards with links

    Stats cards with links

    102
  • Card

    Card

    65
  • Statistics Card 2

    Statistics Card 2

    314
  • Feature UI Row

    Feature UI Row

    37
  • Photo Deck

    Photo Deck

    61