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

Silk Ribbon

Pro

A flowing silk-ribbon background with smooth motion, soft sheen, and controls for ribbon width, scale, glow, 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
<ShaderSilkRibbon
  silkDrift={0.84}
  ribbonScale={2}
  ribbonWidth={1.2}
  sheenStrength={0.86}
  sheenWidth={1.05}
  primaryRibbonColor="#fa6b45"
  secondaryRibbonColor="#30d1b8"
  sheenColor="#edd1ad"
/>

Props

proptypedefaultdescription
silkDriftnumber0.84Silk drift multiplier.
ribbonScalenumber2Ribbon field scale.
ribbonWidthnumber1.2Ribbon body width multiplier.
sheenWidthnumber1.05Ribbon sheen highlight width multiplier.
sheenStrengthnumber0.86Ribbon sheen strength.
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.
primaryRibbonColorstring"#fa6b45"Primary ribbon color as a CSS color or normalized RGB.
secondaryRibbonColorstring"#30d1b8"Secondary ribbon color as a CSS color or normalized RGB.
sheenColorstring"#edd1ad"Sheen highlight color as a CSS color or normalized RGB.