scrollxui

Dot Wave

Heroes 10

About

An animated canvas background of dots that ripple outward in expanding waves, used behind hero text or section headers to add subtle motion.

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

Code

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

Usage.tsx

import { DotWave } from "@/components/ui/dot-wave";

export default function DotWaveDemo() {
  return (
    <DotWave
      dotGap={20}
      dotRadiusMax={3}
      expansionSpeed={250}
      lightIntensity={0.4}
      fadeIntensity={0.08}
      className="w-full h-screen flex items-center justify-center"
    >
      <h2 className="bg-clip-text text-transparent text-center bg-linear-to-b from-neutral-600 to-white text-2xl md:text-4xl lg:text-7xl font-sans font-bold tracking-tight relative z-20">
        Dot Wave, <br /> Background.
      </h2>
    </DotWave>
  );
}

More by scrollxui

View all
  • Contact with Globe

    Contact with Globe

    302
  • Features With Panel

    Features With Panel

    256
  • Logo Cloud Marquee

    Logo Cloud Marquee

    146
  • Hero Section with Cards

    Hero Section with Cards

    125
  • FAQ Accordion

    FAQ Accordion

    119
  • Particles

    Particles

    98
  • Hero With Pixel Background

    Hero With Pixel Background

    76
  • Testimonials Marquee

    Testimonials Marquee

    58

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.4K
  • Hero

    Hero

    1.2K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    921
  • HeroSectionWithGradient

    HeroSectionWithGradient

    335
  • Editorial Collage Hero

    Editorial Collage Hero

    425
  • Hero 03

    Hero 03

    314
  • Glass Fold

    Glass Fold

    198