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

Background Lines

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

Open in

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

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

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
I'd highly recommend working with Manu on a site redesign. We came to Manu with a basic website shell. Manu quickly took our rough concept and transformed it into a polished, user-friendly website....

Ray Thai

Head of Product at Fireworks

A product by Aceternity
Building in public at @mannupaaji