chamaac

Waves

Heroes 14

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

    1.8K
  • Dancing Letters

    Dancing Letters

    690
  • Text Loop

    Text Loop

    322
  • Electric Mist

    Electric Mist

    57
  • Grid Bloom

    Grid Bloom

    56
  • Water Caustic

    Water Caustic

    45
  • Light Speed

    Light Speed

    44
  • Synthesis Background

    Synthesis Background

    42

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.5K
  • Hero

    Hero

    1.3K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Editorial Collage Hero

    Editorial Collage Hero

    458
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    968
  • Aero Hero-3

    Aero Hero-3

    576
  • Hero 03

    Hero 03

    328
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    296