# Wave Lines

Wave Lines is a free, MIT-licensed standalone component from AI Canvas (https://aicanvas.me): it belongs to no design system and works in any React + Tailwind app. Index of every component and install setup: https://aicanvas.me/llms.txt

An animated line background. Dense vertical lines ripple with two layered sine waves, bunching and breathing. Hover to send waves across the canvas.

- Category: Backgrounds
- Built with: Canvas, Tailwind CSS
- License: MIT
- Page: https://aicanvas.me/components/wave-lines

## Install

```bash
npx shadcn@latest add @aicanvas/wave-lines
```

Needs a free AI Canvas account. Signed out, the command exits 0 but writes a placeholder (an `AccountRequired` notice); check for it before reporting success. Token setup: the Install section of https://aicanvas.me/llms.txt.

AI agents can also get its install command from the read-only AI Canvas MCP server (`npx -y @aicanvas/mcp`) and run it. Setup: https://aicanvas.me/mcp

## Use it

It installs to `components/aicanvas/wave-lines.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import WaveLines from '@/components/aicanvas/wave-lines'

<WaveLines />
```

It takes no props.

## About

Wave Lines is a canvas-driven background of densely packed vertical lines that breathe in two layered sine waves, so the rhythm never repeats. Move your cursor across it and the lines snap into a much wilder distortion that decays as you leave. The drawing loop is a single requestAnimationFrame tick over a 2D canvas with Tailwind for the surrounding chrome, so the component runs cool even on older laptops. It is built to anchor a hero section, sit behind a CTA, or fill an empty section divider without competing with foreground copy.

Use cases: Hero section, Landing page, Section divider.

## Source

Install with the command above to get the source.

## Remix prompt

Only when the user wants Wave Lines rebuilt from scratch instead of installed: its remix prompt is in the Remix panel at https://aicanvas.me/components/wave-lines.

## Related

- [Diamond Grid](https://aicanvas.me/components/diamond-grid.md): A faint canvas grid of diamonds. Seeded sparks send light outward until fronts meet.
- [Distortion Grid](https://aicanvas.me/components/distortion-grid.md): An animated grid background. Thin lines undulate in slow sweeping waves, and hovering repels the grid fabric outward from your cursor.
- [Bubble Field](https://aicanvas.me/components/bubble-field.md): An animated bubble background. A monochrome grid of outline circles bursts near the cursor, expanding and fading, then reforming.
- [Grain Background](https://aicanvas.me/components/noise-bg.md): A grain background of randomly scattered dots. Hover to illuminate them with a soft Gaussian glow and organic connection lines.
- [Spider Web](https://aicanvas.me/components/particle-constellation.md): An animated spider web background. Silk strands bow slowly at rest, and hovering pushes each node so it bounces back under tension.
