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

Glass Threads

Pro

A polished glass-thread background with layered highlights, subtle refraction, and controls for facet scale, shine, and colors.

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
<ShaderGlassThreads
  refractionDrift={0.3}
  facetScale={5.5}
  highlightStrength={0.72}
  glassBaseColor="#08121a"
  threadColor="#94e0f2"
  glintColor="#fae09e"
/>

Props

proptypedefaultdescription
refractionDrift number 0.3 Controls refraction.
facetScale number 5.5 Controls facet scale.
highlightStrength number 0.72 Controls highlight.
opacity number 0.92 Sets the overall opacity of the shader background 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.
glassBaseColor string "#08121a" Sets the glass base color. CSS colors and normalized RGB strings are supported.
threadColor string "#94e0f2" Sets the thread highlight color. CSS colors and normalized RGB strings are supported.
glintColor string "#fae09e" Sets the glint highlight color. CSS colors and normalized RGB strings are supported.