chamaac

Nebula

Heroes 27

About

An animated deep-space nebula background using a WebGL fractal noise shader with customizable colors and speed.

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

Code

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

Usage.tsx

import Nebula from "@/components/ui/nebula";

export default function NebulaDemo() {
  return (
    <div className="relative h-[500px] w-full overflow-hidden rounded-xl bg-black">
      <Nebula />
      <div className="relative z-10 flex h-full flex-col items-center justify-center gap-4 text-center">
        <h1 className="bg-gradient-to-b from-white to-white/60 bg-clip-text text-5xl font-semibold tracking-tight text-transparent">
          Explore the Nebula
        </h1>
        <p className="max-w-md text-balance text-white/70">
          A deep space nebula effect rendered with fractional distortion shaders.
        </p>
      </div>
    </div>
  );
}

Dependencies

More by chamaac

View all
  • How It Works

    How It Works

    1.7K
  • Dancing Letters

    Dancing Letters

    688
  • Text Loop

    Text Loop

    306
  • Electric Mist

    Electric Mist

    57
  • Grid Bloom

    Grid Bloom

    54
  • Water Caustic

    Water Caustic

    44
  • Light Speed

    Light Speed

    41
  • Synthesis Background

    Synthesis Background

    41

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.4K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Hero

    Hero

    1.2K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    920
  • HeroSectionWithGradient

    HeroSectionWithGradient

    335
  • Hero 03

    Hero 03

    314
  • Editorial Collage Hero

    Editorial Collage Hero

    425
  • Glass Fold

    Glass Fold

    197