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

Background Gradient

An animated gradient that sits at the background of a card, button or anything.

Open in
jordans

Air Jordan 4 Retro Reimagined

The Air Jordan 4 Retro Reimagined Bred will release on Saturday, February 17, 2024. Your best opportunity to get these right now is by entering raffles and waiting for the official releases.

Installation

Run the following command

npx shadcn@latest add @aceternity/background-gradient

Props

PropTypeDefaultDescription
childrenReact.ReactNodeundefinedThe content to be rendered within the gradient background.
classNamestringundefinedThe CSS class to be applied to the inner div.
containerClassNamestringundefinedThe CSS class to be applied to the outermost div.
animatebooleantrueDetermines whether the gradient background should animate. If false, the gradient background will be static.

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