Background Lines
A set of svg paths that animate in a wave pattern. Good for hero sections background, as seen on height.app
Installation
Run the following command
npx shadcn@latest add @aceternity/background-lines
Props
Prop Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | Required | The content to be rendered inside the component. |
className | string | undefined | Additional CSS classes to be applied to the outer container. |
svgOptions | object | undefined | Options for customizing the SVG animation. |
svgOptions | object | { 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
70+ templates and component blocks combined
Ready to copy paste component blocks, save days of development time

