chamaac

Nebula

Heroes 28

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.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
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    968
  • Editorial Collage Hero

    Editorial Collage Hero

    458
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    296
  • Glass Fold

    Glass Fold

    278
  • Aero Hero-3

    Aero Hero-3

    576