NebulaCloud

A volumetric gas cloud background effect using Three.js and custom shaders.

Usage

import { NebulaCloud } from '@reactomega/ui';

export default function App() {
  return (
    <div className="relative h-screen w-full">
      <NebulaCloud color="#8b5cf6" speed={1} opacity={0.5} />
    </div>
  );
}

Props

PropTypeDefaultDescription
colorstring"#8b5cf6"Primary color of the nebula
speednumber1Speed of the cloud movement
opacitynumber0.5Opacity of the clouds