Wave LinesDense vertical lines that ripple across the canvas — two layered sine waves create organic bunching and breathing.

BackgroundsHero sectionLanding pageSection divider
Wave Lineshover to fold

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/wave-lines
2

For dark mode, add the dark class to your <html> element:

Optional
<html class="dark">

Install with AI Canvas MCP

With AI Canvas MCP, your AI knows every component we ship. Ask for “a navigation component from AI Canvas” inside Claude Code, Codex, or Cursor and it can suggest you a few options, then install the one you like. Less typing, lower token cost, modern way to build.

Get MCP

About Wave Lines

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.

Built with

CanvasTailwind CSS

More like this