Meng To

Constellation Field

Heroes 198

About

An animated canvas background of drifting, pointer-reactive particle nodes connected by fading constellation lines, used behind hero/landing sections.

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

Code

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

Usage.tsx

import ConstellationField from "@/components/ui/constellation-field";

export default function ConstellationFieldDemo() {
  return (
    <div className="relative h-[640px] w-full overflow-hidden rounded-xl border border-border bg-[#070914]">
      <ConstellationField
        mode="dark"
        speed={1}
        size={1}
        strokeWidth={1}
        length={1}
        density={1}
        opacity={1}
        hue={0}
        saturation={1}
        brightness={1}
      />
    </div>
  );
}

More by Meng To

View all
  • Gateway Flow

    Gateway Flow

    1.9K
  • Glassmorphism CTA

    Glassmorphism CTA

    841
  • Globe Type Study

    Globe Type Study

    772
  • Particle Drift

    Particle Drift

    735
  • Generative Tree

    Generative Tree

    638
  • Topo Field

    Topo Field

    608
  • Dot Border Button

    Dot Border Button

    517
  • Spark Badge

    Spark Badge

    492

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.1K
  • Hero

    Hero

    1.3K
  • SaaS Template

    SaaS Template

    2.6K
  • Hero 03

    Hero 03

    367
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Editorial Collage Hero

    Editorial Collage Hero

    493
  • HeroSectionWithGradient

    HeroSectionWithGradient

    378
  • Aero Hero-3

    Aero Hero-3

    611