Dhileep Kumar GM

Spotlight Button

Buttons 1

About

A premium, high-quality button featuring a dynamic spotlight effect that follows the user's mouse cursor, creating an engaging and interactive experience.

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

Code

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

Usage.tsx

import { SpotlightButton } from "@/components/ui/spotlight-button";


export default function DemoOne() {
  return (
    <div className="w-full h-screen flex items-center justify-center gap-8 bg-white dark:bg-black text-black dark:text-whit">
      <SpotlightButton>21st.dev</SpotlightButton>
      <SpotlightButton variant="variant">Button</SpotlightButton>
    </div>
  );
};

Dependencies

More by Dhileep Kumar GM

View all
  • Aether Flow Hero

    Aether Flow Hero

    2K
  • Woven Light Hero

    Woven Light Hero

    1.6K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    976
  • Mountain Scene

    Mountain Scene

    882
  • HolographicCard

    HolographicCard

    837
  • 3D Animation

    3D Animation

    816
  • liquid  Shader

    liquid Shader

    574

More in Buttons

View all
  • Texture Button

    Texture Button

    108
  • Button

    Button

    14
  • Notification Button

    Notification Button

    117
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Eclipse Button

    Eclipse Button

    44
  • Button Save

    Button Save

    50
  • App Store Button

    App Store Button

    484
  • Base Button

    Base Button

    1