WunderUI

Holo Card

Cards

About

A card with a mouse-tracking spotlight: a soft glow in the primary colour follows the pointer and fades in and out with the WunderUI motion tokens. From WunderUI, free, MIT.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Holo Card to your project and fits it to your theme.

Code

How Holo Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { HoloCard } from "@/components/ui/holo-card";
import { Sparkles, Zap } from "lucide-react";

export default function HoloCardDemo() {
  return (
    <div className="flex min-h-72 flex-wrap items-center justify-center gap-6 p-8">
      {/* The spotlight is forced on in the first card so the cover shows it; move the pointer over either card. */}
      <HoloCard className="w-64 [&>div:first-child]:opacity-100">
        <Sparkles className="mb-3 size-5 text-primary" />
        <p className="text-base font-semibold text-foreground">Spotlight</p>
        <p className="mt-1 text-sm text-text-secondary">
          A soft glow follows your pointer across the card.
        </p>
      </HoloCard>
      <HoloCard className="w-64">
        <Zap className="mb-3 size-5 text-primary" />
        <p className="text-base font-semibold text-foreground">Hover me</p>
        <p className="mt-1 text-sm text-text-secondary">
          It fades in and out with the WunderUI motion tokens.
        </p>
      </HoloCard>
    </div>
  );
}

Dependencies

More by WunderUI

View all
  • Button

    Button

    3
  • Trend Chip

    Trend Chip

  • Pull to Refresh

    Pull to Refresh

  • Rating

    Rating

  • Theme Split

    Theme Split

  • Logo Marquee

    Logo Marquee

  • Deck Shuffle

    Deck Shuffle

  • Converge Spinner

    Converge Spinner

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    47
  • Folded Card

    Folded Card

    45
  • Statistics Card 10

    Statistics Card 10

    304
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    336
  • CTA Section

    CTA Section

    6
  • Liquid Glass Card

    Liquid Glass Card

    198