Funnel chart
Stages of a process narrowing as people drop out.
Biggest drop: Verified email → Subscribed, 71% leave. 7.0% make it through.
| Stage | Value | Of first | Of previous |
|---|---|---|---|
| Visited | 12000 | 100.0% | — |
| Started signup | 4200 | 35.0% | 35.0% |
| Verified email | 2900 | 24.2% | 69.0% |
| Subscribed | 840 | 7.0% | 29.0% |
When to use
- Conversion and signup flows.
- Any sequence where each step loses some.
When not to use
- Stages that are not strictly ordered.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/funnel-chart
Adds its 5 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
FunnelChart
7 props
PropTypeDefault
label *string—
data *readonly FunnelStage[]—
unitstring""
formatValue((value: number) => string)numberText
loadingboolean—
errorstring—
classNamestring—
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It exposes group and status semantics, with aria-label, aria-busy, aria-pressed and aria-hidden kept in step with state. Changes that matter are announced through a live region.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/funnel-chart.mdThe index of every part is at /llms.txt.