Summer pricing is live: save $50 on Starwind Pro lifetime access.

Night Clouds

Pro

A moody night-sky background with slow moving cloud layers, soft horizon glow, and controls for drift, scale, depth, and palette.

Theme

Upgrade to Pro
Loading code...

Starwind Dependencies

Sign in to view code and copy install commands.

Sign in

This component requires Starwind Pro.

Get lifetime access to all premium components, updates, and priority support.

Upgrade to Pro

Failed to load code. Please try again.

Code

Usage
<ShaderNightClouds
  cloudDrift={0.4}
  cloudScale={2.4}
  moonlitDepth={0.84}
  skyColor="#0D101A"
  cloudColor="#94B3DB"
  horizonColor="#D19E70"
/>

Props

proptypedefaultdescription
cloudDriftnumber0.4Cloud drift multiplier.
cloudScalenumber2.4Cloud field scale.
moonlitDepthnumber0.84Overall cloud depth and glow.
opacitynumber0.96Sets the overall opacity of the shader background wrapper.
maxDprnumber1.5Caps device pixel ratio for sharper output without runaway GPU cost.
maxFps30 | 45 | 6060Caps the animation frame rate for performance-sensitive pages.
skyColorstring"#0D101A"Sky field color as a CSS color or normalized RGB.
cloudColorstring"#94B3DB"Cloud layer color as a CSS color or normalized RGB.
horizonColorstring"#D19E70"Horizon warmth color as a CSS color or normalized RGB.