Component packs › Backdrop › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
count | number | scales with the area (about 420 at 640 x 360) | Number of streamlines. Default scales with the area (about 420 at 640 x 360). |
stir | number | 1 | Strength of the pointer's vortex, 0 to 2. Default 1. |
destroy(): voidimport FlowLines from './FlowLines';
<FlowLines />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Animated backgrounds.