sona-ui

Spotlight Card

Cards

About

A card with a radial spotlight glow that follows the cursor.

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 SpotlightCard from "@/components/ui/sona-spotlight-card"

export default function SpotlightCardExample() {
  return (
    <SpotlightCard className="max-w-sm">
      <h3 className="font-semibold text-foreground text-lg">Spotlight Card</h3>
      <p className="mt-2 text-muted-foreground text-sm">
        Move your cursor across the card to reveal the spotlight that follows
        your pointer.
      </p>
    </SpotlightCard>
  );
}

Dependencies

More by sona-ui

View all
  • Stagger Text

    Stagger Text

    8
  • Dot Orbit Shader

    Dot Orbit Shader

  • Mesh Gradient Shader

    Mesh Gradient Shader

  • Split Text

    Split Text

  • Image Trail

    Image Trail

  • Section Rail

    Section Rail

  • Activity Graph

    Activity Graph

  • Fluid Slider

    Fluid Slider

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.4K
  • Stats cards with links

    Stats cards with links

    46
  • Statistics Card 7

    Statistics Card 7

    342
  • Statistics Card 2

    Statistics Card 2

    322
  • Card Studio

    Card Studio

    37
  • Card

    Card

    65
  • Admin Dashboard Cards

    Admin Dashboard Cards

    44
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    779