BackgroundsProNew

Flow Field

A background of hundreds of thin streams, like wind on a map. The cursor parts them and leaves swirls, a click sends a gust.

Customize

color

Based on Flow Field (MIT license) · Terms of use

Props

6 properties
PropertyTypeDefaultDescription
densitynumber1How many wind lines. 1 is about 700 particles.
speednumber1Wind speed. 0 freezes a single frame.
interactivebooleantrueThe cursor parts the streams, a click sends a gust.
colorstring"rgba(255, 255, 255, 0.8)"Line color.
childrenReactNode—Content on top of the background, such as a heading.
classNamestring—Classes for the wrapper.

Dependencies

2 required packages

npm install clsx tailwind-merge

Related components

View all