Atelier UI

Search components…

Search components…

Spotlight Card

Card with a spotlight that follows the pointer and a glowing border.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

SpotlightCardProps

Also accepts all props of React.ComponentProps<"div">

PropTypeDefaultDescription
spotlightColorstring"#f97316"—
sizenumber360Diameter of the spotlight in px
glowBorderbooleantrueAlso light up the card border near the pointer

Install

$ npx shadcn@latest add https://chromotion.dev/r/spotlight-card.json

The CLI installs the base component; your customizations live in the code generated on the Customize tab.

More like this