Funnel Chart

Preview

From first visit to first payment

Product conversion · Sample cohorts

Visitors100.0%Signed up65.0%Activated45.0%Started trial30.0%Subscribed18.0%
24,000 → 4,320 peopleOverall conversion18.0%

Inspect a stage to see conversion and drop-off

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @beui/funnel-chart

API Reference

FunnelChart

stages
readonly FunnelStage[]

Ordered stages with finite, nonnegative counts; duplicate IDs are omitted.

Default—
direction?
"horizontal" | "vertical"
Defaultvertical
unit?
string
Defaultpeople
label?
string
DefaultConversion funnel
formatValue?
((value: number) => string)
Default(value: number) => value.toLocaleString("en-US", { maximumFractionDigits: 2 })
className?
string
Default—

FunnelChartPlot

className?
string
Default—

FunnelChartSummary

className?
string
Default—

Updated