chamaac

Nebula

Heroes 30

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.9K
  • Dancing Letters

    Dancing Letters

    702
  • Text Loop

    Text Loop

    337
  • Electric Mist

    Electric Mist

    61
  • Grid Bloom

    Grid Bloom

    60
  • Water Caustic

    Water Caustic

    47
  • Light Speed

    Light Speed

    47
  • Gif Text

    Gif Text

    43

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.1K
  • SaaS Template

    SaaS Template

    2.6K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1K
  • Hero

    Hero

    1.3K
  • Hero 03

    Hero 03

    358
  • Modern Landing Hero

    Modern Landing Hero

    132
  • HeroSectionWithGradient

    HeroSectionWithGradient

    374
  • Home Section

    Home Section

    75