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

Corner Beams

Pro

A clean light-beam background that draws attention toward the center, with adjustable beam count, brightness, motion, 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
<ShaderCornerBeams
  beamDrift={0.3}
  beamCount={7.4}
  lightStrength={0.82}
  fieldColor="#0a141c"
  beamColor="#badfff"
  coreColor="#f2c274"
/>

Props

proptypedefaultdescription
beamDriftnumber0.3Controls drift.
beamCountnumber7.4Controls beam count.
lightStrengthnumber0.82Controls light 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.
fieldColorstring"#0a141c"Sets the field base color. CSS colors and normalized RGB strings are supported.
beamColorstring"#badfff"Sets the beam strand color. CSS colors and normalized RGB strings are supported.
coreColorstring"#f2c274"Sets the core glow color. CSS colors and normalized RGB strings are supported.