Skip to main content

FunnelChart

Stage volumes with drop-off. Length-proportional bars, never a trapezoid — area misleads.

Signature
Density
Viewport
Theme and light/dark are set in the top bar
Live demo
Open ↗

When to use​

Stage volumes with drop-off.

Accessibility​

Each chart ships an accessible fallback (a visually-hidden data table / aria-label summary) so the data is available to screen readers, not just sighted users. Colour is paired with shape/label, never used alone.

Install and import​

npx shadcn@latest add @prism/funnel-chart
import { FunnelChart } from '@/components/prism/FunnelChart';

In a no-build prototype, read it from the bundle instead: const { FunnelChart } = window.PrismDesignSystem_39d121;

Props​

PropTypeRequiredDescription
stagesFunnelStage[]YesIn funnel order — entry stage first.
showDropoffboolean—Show the loss between consecutive stages. Default true.
showRateboolean—Show each stage as a percentage of the entry stage. Default true.
rowHeightnumber—Bar height in px. Default 22.
formatValue(value: number) => React.ReactNode—
captionstring—
classNamestring—