Back to dashboards
ComponentChartFree

Streamgraph React component

A streamgraph of how a mix shifts over time: smooth streams flowing around a moving centre line, each swelling and thinning with its share, named inside where they're thick, with hover highlighting and a sorted weekly breakdown.

About the Streamgraph component

Streamgraph shows how a mix of topics, genres or products changes over time as smooth streams flowing around a moving centre line. Each stream swells when it's popular and thins when it fades, so rising and falling themes are easy to spot.

Streams are named inside where they're thickest; hover a stream or its legend item to pull it forward, and read any week's breakdown, sorted from biggest to smallest, in the tooltip.

When to use it

Use it for topics in feedback or support tickets, music or content genres over time, traffic by referrer, product mix and any story about themes rising and falling.

It shows shape and change, not exact totals; when precise comparison matters, use a stacked area or line chart.

Installation

Add the Streamgraph component to your project with the shadcn CLI. It lands in components/streamgraph.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/streamgraph

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Chart components

Bullet Chart
Free
Radial Bar Chart
Free
Realtime Line Chart
Free
Contribution Heatmap
Free
Neon Pulse Line Chart
Free
Sankey Diagram
Free