Spotlight Card

A soft light and a glowing edge track your pointer across the card.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

SpotlightCard props

PropTypeDefaultDescription
radiusnumber260Radius of the spotlight in px.

Read the guide

3D Card Tilt Effect in React with Tailwind and Framer Motion

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks