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

Card Spotlight

A card component with a spotlight effect revealing a radial gradient background

Open in

Authentication steps

Follow these steps to secure your account:
  • Enter your email address

  • Create a strong password

  • Set up two-factor authentication

  • Verify your identity

Ensuring your account is properly secured helps protect your personal information and data.

Installation

Run the following command

npx shadcn@latest add @aceternity/card-spotlight

Props

Prop NameTypeDefault ValueDescription
childrenReact.ReactNodeRequiredThe content to be rendered inside the card.
radiusnumber350The radius of the spotlight effect in pixels.
colorstring"#262626"The background color of the spotlight effect.
classNamestringundefinedAdditional CSS classes to be applied to the con

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