Hossain Jahed

Spotlight Card

Cards 9.6K

About

advanced React component designed to create an engaging and modern card interface. It features a unique spotlight glow effect that intelligently tracks the mouse pointer across the screen, highlighting the card with a configurable hue. Part of the EaseMize UI library, it supports several preset glow colors, predefined responsive sizes ('sm', 'md', 'lg'), and allows for completely custom dimensions via width, height, or className props. The underlying CSS leverages custom properties for a highly dynamic and performant visual effect.

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

Code

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

Usage.tsx

import { GlowCard } from "@/components/ui/spotlight-card";

export function Default(){
  return(
    <div className="w-screen h-screen flex flex-row items-center justify-center gap-10 custom-cursor">
      <GlowCard />
      <GlowCard />
      <GlowCard />
    </div>
  );
};

More by Hossain Jahed

View all
  • Motion Footer

    Motion Footer

    6.2K
  • Cinematic landing Hero

    Cinematic landing Hero

    6K
  • Sign In

    Sign In

    4.9K
  • AI prompt Box

    AI prompt Box

    3.2K
  • Glassmorphism Trust Hero

    Glassmorphism Trust Hero

    2.9K
  • Limelight Nav

    Limelight Nav

    2K
  • Ai chat input

    Ai chat input

    2K
  • Glass Button

    Glass Button

    1.6K

More in Cards

View all
  • Statistics Card 2

    Statistics Card 2

    312
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    57
  • Stats cards with links

    Stats cards with links

    136
  • Liquid Glass Card

    Liquid Glass Card

    199
  • Weather Card

    Weather Card

    67
  • Switch List Card

    Switch List Card

    50
  • CTA Section

    CTA Section

    6