Funnel Chart

NEW

A conversion funnel with per-stage widths, curved drop-off bridges, and a loss chip between every stage. An optional summary line reports overall conversion and the single biggest drop-off, all in hand-written SVG.

Signup funnel

Visit to paid, last 30 days

2.9% overall conversion

Biggest drop: Invited a teammate → Started paid plan −67%

Visited site48,200 · 100%Signed up15,840 · 33%Created project9,120 · 19%Invited a teammate4,210 · 8.7%Started paid plan1,380 · 2.9%−67%−42%−54%−67%
Signup funnel from visited site to started paid plan
StageUsers% of first stage
Visited site48,200100%
Signed up15,84033%
Created project9,12019%
Invited a teammate4,2108.7%
Started paid plan1,3802.9%

Installation

Add the component directly to your repository using shadcn CLI:

npx shadcn@latest add Surajmaurya1/easyui/funnel-chart

API Reference

PropTypeDefaultDescription
stagesFunnelStage[]—Ordered stages with a label, value, and optional color
formatValue(n: number) => stringIntl.NumberFormatFormats stage values in the chart, tooltip, and data table
showSummarybooleantrueShows overall conversion and the biggest drop-off above the funnel
animatedbooleantrueEnables bridge, bar, and chip entrance animations
ariaLabelstringauto-generatedAccessible chart description and data table caption
classNamestring""Additional CSS classes for the funnel wrapper