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 https://ui.aceternity.com/registry/background-gradient.json

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

With the best in class components and templates, stand out from the crowd and get more attention to your website. Trusted by founders and entrepreneurs from all over the world.

Go Pro
Manu is the man! He is the best front-end developer I have worked with. He took the requirements and quite literally ran with them. We are super happy with the result and product we go...

John Shahawy

Founder at Rogue and Moonbeam

A product by Aceternity
Building in public at @mannupaaji