Background Lines

A set of svg paths that animate in a wave pattern. Good for hero sections background, as seen on height.app

Sanjana Airlines,
Sajana Textiles.

Get the best advices from our experts, including expert artists, painters, marathon enthusiasts and RDX, totally free.

Installation

Run the following command

npx shadcn@latest add @aceternity/background-lines

Props

Prop NameTypeDefaultDescription
childrenReact.ReactNodeRequiredThe content to be rendered inside the component.
classNamestringundefinedAdditional CSS classes to be applied to the outer container.
svgOptionsobjectundefinedOptions for customizing the SVG animation.
svgOptionsobject{ duration: 10 }Options for customizing the SVG animation. Properties: - duration: number - The duration of each path animation in seconds.

This component is inspired from the background section of height.app.

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

Access an ever-growing collection of premium, meticulously crafted templates and Component Blocks.

A product by Aceternity
Building in public at @mannupaaji

© 2026 Aceternity Labs LLC. All Rights Reserved.