Back to Components
Components

Animated Spotlight

Cursor spotlight overlay with spring follow and blur control.

No preview available

Dependencies

  • clsx
  • tailwind-merge
  • framer-motion

Files

  • components/ui/animated-spotlight.tsx

Installation

Using shadcn CLI

npx shadcn add animated-spotlight --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge framer-motion