Component packs › Signal › Sankey Flow

Sankey Flow

Particles stream along every link at a rate set by its volume; hover a node and only its flows stay lit.

Sankey Flow is a chart from Signal, a component pack with 8 charts: Charts that behave like physical things. Price: $2 for the whole pack.

Built with: volume-rate particles, node focus, auto layout.

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.

Sankey Flow props

PropTypeDefaultDescription
titlestring
sourcesstring[]
targetsstring[]
linksSankeyLink[]
autoplaybooleanShowcase mode: cycles the highlight.

Methods on the ref

Use it in React

import SankeyFlow from './SankeyFlow';

<SankeyFlow />

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

More in Signal

Good for: Admin dashboard UI, Automation and workflow UI, Chart components.