Wavy Background

A cool background effect with waves that move.

Hero waves are cool

Leverage the power of canvas to create a beautiful hero section

Installation

Run the following command

npx shadcn@latest add @aceternity/wavy-background
PropTypeDefaultDescription
childrenany-The content to be displayed on top of the wavy background.
classNamestring-The CSS class to apply to the content container.
containerClassNamestring-The CSS class to apply to the main container.
colorsstring[] ["#38bdf8", "#818cf8", "#c084fc", "#e879f9", "#22d3ee"]The colors of the waves.
waveWidthnumber50The width of the waves.
backgroundFillstring"black"The background color.
blurnumber10The blur effect applied to the waves.
speed"slow" | "fast""fast"The speed of the wave animation.
waveOpacitynumber0.5The opacity of the waves.
[key: string]any-Any other props not listed above.

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

200+ templates and blocks combined

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

Aceternity UI Pro Demo - Light Mode