Toggle Sidebar B
AppearanceLight & dark mode D

Beams

Crossing animated ribbons with customizable properties.

Default

Every property is wired to the controls underneath. The demo swaps to a light palette in the light theme until you change a color yourself.

Dark previewReplay previewOpen in new tab
New Creative Components

Radiant beams for creative user interfaces

Get started Learn more

Customize

Color
Beam Color
Background
Beam Width3
Beam Height30
Beam Count20
Speed2
Noise Intensity1.75
Noise Scale0.2
Rotation30

API Reference

Beams

PropTypeDefaultDescription
beamWidthnumber2Width of each beam.
beamHeightnumber15Height of each beam.
beamNumbernumber12Number of beams to display.
lightColorstring'#ffffff'Color of the directional light.
beamColorstring'#000000'Base material color of the beams.
backgroundColorstring'#000000'Canvas background color.
speednumber2Speed of the animation.
noiseIntensitynumber1.75Intensity of the noise effect overlay.
scalenumber0.2Scale of the noise pattern.
rotationnumber0Rotation of the entire beams system in degrees.
lightModebooleanfalseRemaps the shading so the beams read well on a light background.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • Purely decorative canvas. Place it behind content with enough contrast.