Backgrounds

Wave lines

Dozens of fine lines rolling like an ocean of sound, iridescent along their length. The pointer lifts them and sends a ring outward.

Paste it into ChatGPT, Claude, Cursor or v0.
lines42
amplitude1.00
speed0.40
thickness1.2

Usage

import { WaveLines } from '@vizzele/react/gl';

<WaveLines lines={42} amplitude={1} />

Props

PropTypeDefaultDescription
linesnumber42Number of lines.
amplitudenumber1Wave height.
speednumber0.4Wave speed.
thicknessnumber1.2Line thickness (CSS px).
colorsstring[]iridescent paletteFour hex colors.

Accessibility

  • The canvas is aria-hidden and never takes pointer events — content on top stays fully interactive.
  • Pauses when off-screen or in a background tab. Renders one still frame with reduced motion.
  • Weak devices get a lower resolution automatically; without WebGL2 a static gradient is shown.