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.

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

Props

proptypedefaultdescription
refractionDriftnumber0.3Controls refraction.
facetScalenumber5.5Controls facet scale.
highlightStrengthnumber0.72Controls highlight.
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.
glassBaseColorstring"#08121a"Sets the glass base color. CSS colors and normalized RGB strings are supported.
threadColorstring"#94e0f2"Sets the thread highlight color. CSS colors and normalized RGB strings are supported.
glintColorstring"#fae09e"Sets the glint highlight color. CSS colors and normalized RGB strings are supported.