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

Dithered Glow

Pro

A dotted glow background with soft bloom, interactive pointer highlights, and controls for dot size, motion, brightness, 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
<ShaderDitheredGlow
  bloomDrift={0.26}
  dotPitch={80}
  glowStrength={0.74}
  pointerGlowStrength={0.2}
  pointerDotReveal={0.8}
  pointerReach={1}
  maxFps="60"
  pointerEnabled={true}
  inkFieldColor="#0f0f14"
  primaryBloomColor="#f0855c"
  secondaryBloomColor="#59c2f0"
/>

Props

proptypedefaultdescription
bloomDriftnumber0.26Controls bloom drift.
dotPitchnumber80Controls dot pitch.
glowStrengthnumber0.74Controls glow.
opacitynumber0.92Sets 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.
pointerEnabledbooleantrueToggles the pointer-responsive hover glow.
pointerDotRevealnumberpointerGlowStrengthControls how strongly the pointer reveals extra dots, falling back to pointer glow when omitted.
pointerGlowStrengthnumber0.2Controls pointer glow.
pointerReachnumber1Controls pointer reach.
inkFieldColorstring"#0f0f14"Sets the ink field color. CSS colors and normalized RGB strings are supported.
primaryBloomColorstring"#f0855c"Sets the primary bloom color. CSS colors and normalized RGB strings are supported.
secondaryBloomColorstring"#59c2f0"Sets the secondary bloom color. CSS colors and normalized RGB strings are supported.