Dhileep Kumar GM

Spotlight CTA

Buttons 28

About

A unique and interactive call-to-action component that features a "spotlight" effect following the user's cursor. It's designed to be fully theme-aware, supporting both light and dark modes out of the box to create a premium feel on any background.

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

Code

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

Usage.tsx

import {  SpotlightCTA, SpotlightCTAContent, SpotlightCTAText, SpotlightCTAButton } from "@/components/ui/spotlight-cta";

export default function DemoOne() {
 
  return (
    <div className="flex items-center justify-center min-h-screen p-4 font-sans">
      <SpotlightCTA>
        <SpotlightCTAContent>
            <SpotlightCTAText 
                title="Unlock Your Potential"
                description="Join an exclusive community of creators and innovators. Get started today and redefine what's possible."
            />
            <SpotlightCTAButton onClick={() => console.log("Button Clicked!")}>
                Begin Your Journey
            </SpotlightCTAButton>
        </SpotlightCTAContent>
      </SpotlightCTA>
    </div>
  );
}

Dependencies

More by Dhileep Kumar GM

View all
  • Aether Flow Hero

    Aether Flow Hero

    1.9K
  • Woven Light Hero

    Woven Light Hero

    1.5K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    922
  • Mountain Scene

    Mountain Scene

    859
  • HolographicCard

    HolographicCard

    820
  • 3D Animation

    3D Animation

    766
  • Cybernetic Bento Grid

    Cybernetic Bento Grid

    556

More in Buttons

View all
  • Button Save

    Button Save

    46
  • Button

    Button

    20
  • Eclipse Button

    Eclipse Button

    5
  • Button

    Button

    6
  • Button

    Button

    14
  • Button Group

    Button Group

    37
  • Button

    Button

    32
  • Split Button

    Split Button

    32