Efferd

Dotted Surface

Component 3.5K

About

An animated 3D dotted wave background built with Three.js that flows like water. Theme-aware and lightweight, perfect for adding subtle motion depth to your UI.

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

Code

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

Usage.tsx

import DottedSurface from "@/components/ui/dotted-surface";

const settings = {
  size: 8,
  opacity: 0.8,
  sizeAttenuation: true,
  vertexColors: true,
};

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

Dependencies

More by Efferd

View all
  • Testimonials Columns

    Testimonials Columns

    7.1K
  • Zoom Parallax

    Zoom Parallax

    5.2K
  • Footer Section

    Footer Section

    2.7K
  • Grid Feature Cards

    Grid Feature Cards

    1.9K
  • Logo Cloud 2

    Logo Cloud 2

    1.6K
  • Header 3

    Header 3

    1.6K
  • Logo Cloud 3

    Logo Cloud 3

    1.5K
  • Image Gallery

    Image Gallery

    1.1K