Command Palette

Search for a command to run...

—

Rising Lines

A lightweight React background animation with continuously moving lines that can flow upward or downward using a configurable direction prop.

Props

PropertyDefault ValueDescription
lineCount200The total number of lines rendered on the screen.
color"#737373"The color of the lines (accepts hex, rgb, or Tailwind color codes).
thickness1The width or thickness of each line (in pixels).
speed10Controls the movement speed of the lines (higher number = faster).
heightMin120The minimum height a line can randomly be (in pixels).
heightMax370The maximum height a line can randomly be (in pixels).
opacityMin0.15The minimum opacity limit for the faintest lines.
opacityMax0.6The maximum opacity limit for the most visible lines.
direction"bottom-to-top"The direction of the line movement. Accepts "bottom-to-top" or "top-to-bottom".