Introducing Aceternity UI Pro - 70+ premium component packs and templates to build amazing websites.
Logo

Spotlight New

A new spotlight component with left and right spotlight, configurable and customizable.

Open in

Spotlight
which is not overused.

A subtle yet effective spotlight effect, because the previous version is used a bit too much these days.

Installation

Run the following command

npx shadcn@latest add @aceternity/spotlight-new

Props

PropTypeDefaultDescription
gradientFirststring"radial-gradient(68.54% 68.72% at 55.02% 31.46%, hsla(210, 100%, 85%, .08) 0, hsla(210, 100%, 55%, .02) 50%, hsla(210, 100%, 45%, 0) 80%)"First gradient color for the spotlight effect
gradientSecondstring"radial-gradient(50% 50% at 50% 50%, hsla(210, 100%, 85%, .06) 0, hsla(210, 100%, 55%, .02) 80%, transparent 100%)"Second gradient color for the spotlight effect
gradientThirdstring"radial-gradient(50% 50% at 50% 50%, hsla(210, 100%, 85%, .04) 0, hsla(210, 100%, 45%, .02) 80%, transparent 100%)"Third gradient color for the spotlight effect
translateYnumber-350Vertical translation offset in pixels
widthnumber560Width of the main spotlight element in pixels
heightnumber1380Height of the spotlight elements in pixels
smallWidthnumber240Width of the smaller spotlight elements in pixels
durationnumber7Animation duration in seconds
xOffsetnumber100Horizontal animation offset in pixels

Build websites faster and 10x better than your competitors with

Aceternity UI Pro

Next.js 15, Tailwind CSS v4 and Motion for react powered templates

70+ templates and component blocks combined

Ready to copy paste component blocks, save days of development time

Aceternity UI Pro Demo - Light Mode
A product by Aceternity
Building in public at @mannupaaji