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

    1.9K
  • Woven Light Hero

    Woven Light Hero

    1.6K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    956
  • Mountain Scene

    Mountain Scene

    868
  • HolographicCard

    HolographicCard

    823
  • 3D Animation

    3D Animation

    795
  • liquid  Shader

    liquid Shader

    562

More in Buttons

View all
  • Base Button

    Base Button

    5
  • Button

    Button

    1
  • Button

    Button

    5
  • Texture Button

    Texture Button

    101
  • Button

    Button

    74
  • App Store Button

    App Store Button

    471
  • Eclipse Button

    Eclipse Button

    3
  • Native Button

    Native Button

    12