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

Glyph Rain

Pro

Columns of invented glyphs that fall with bright heads and fading trails, with a slow scan band and a glow near the pointer.

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
<ShaderGlyphRain
  glyphColor="#ffb454"
  headColor="#fff1d6"
  screenColor="#0a0806"
  maxFps="60"
  glyphFlicker={0.6}
  glowStrength={1}
  glyphSize={22}
  pointerGlow={0.9}
  scanStrength={0.6}
  trailLength={0.55}
  pointerEnabled={true}
  fallSpeed={0.7}
  opacity={1}
/>

Props

proptypedefaultdescription
screenColor string #0a0806 Color of the screen behind the glyphs. CSS colors are supported.
glyphColor string #ffb454 Color of the glyph trails. CSS colors are supported.
headColor string #fff1d6 Color of the leading glyph in each column. CSS colors are supported.
glyphSize number 22 Height of each glyph in pixels, at a canvas height of 720. Range 10 to 48.
trailLength number 0.55 Length of each trail, as a share of the canvas height. Range 0.15 to 1.5.
glyphFlicker number 0.6 How often each glyph changes. Range 0 to 3.
glowStrength number 1 Soft glow behind the bright part of each trail. Range 0 to 2.
scanStrength number 0.6 Brightness of the scan band that moves up the screen. Range 0 to 1.5.
pointerGlow number 0.9 How much the glyphs light up near the pointer. Range 0 to 2.
fallSpeed number 0.7 Speed of the falling columns. Range 0 to 2.5.
opacity number 1 Sets the overall opacity of the shader wrapper.
maxDpr number 1.5 Caps device pixel ratio for sharper output without runaway GPU cost.
maxFps 30 | 45 | 60 60 Caps the animation frame rate for performance-sensitive pages.
pointerEnabled boolean true Toggles the pointer response.