chamaac

Waves

Heroes 16

About

A shader-based animated wave background using Three.js, ideal as a hero or landing page backdrop.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Waves to your project and fits it to your theme.

Code

How Waves is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Waves } from "@/components/ui/waves";

const settings = {
  waveSpeedX: 0.0125,
  waveSpeedY: 0.005,
  waveAmpX: 32,
  waveColor1: "#071697",
  waveColor2: "#00d4ff",
  waveColor3: "#000000",
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="h-screen w-screen relative">
      <Waves {...s} />
    </div>
  );
}

Dependencies

More by chamaac

View all
  • How It Works

    How It Works

    2K
  • Dancing Letters

    Dancing Letters

    703
  • Text Loop

    Text Loop

    352
  • Electric Mist

    Electric Mist

    64
  • Grid Bloom

    Grid Bloom

    63
  • Water Caustic

    Water Caustic

    48
  • Light Speed

    Light Speed

    48
  • Gif Text

    Gif Text

    44

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Editorial Collage Hero

    Editorial Collage Hero

    507
  • Hero Section

    Hero Section

    445
  • Aero Hero-3

    Aero Hero-3

    618
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    442