Component packs › Backdrop › Flow Lines

Flow Lines

A wind map of streamlines following a turning flow field, wrapping round a vortex at the pointer.

Flow Lines is a background from Backdrop, a component pack with 6 animated backgrounds: Animated backgrounds made of fields, not blobs, that answer the pointer and the scroll. Price: $2 for the whole pack.

Built with: noise flow field, particle trails, pointer vortex.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Flow Lines props

PropTypeDefaultDescription
countnumberscales with the area (about 420 at 640 x 360)Number of streamlines. Default scales with the area (about 420 at 640 x 360).
stirnumber1Strength of the pointer's vortex, 0 to 2. Default 1.

Methods on the ref

Use it in React

import FlowLines from './FlowLines';

<FlowLines />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Backdrop

Good for: Animated backgrounds.