Funnel Steps

A conversion funnel drawn as labeled horizontal bars scaled to the largest step, with formatted counts per stage. Suited to signup and checkout analytics.

src/registry/ui/funnel-steps.tsx/r/funnel-steps.json

Installation#

bash
npx shadcn@latest add @minidev/funnel-steps

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/funnel-steps.json

Usage#

tsx
import { FunnelSteps } from "@/components/ui/funnel-steps"

export function Example() {
  return (
    <FunnelSteps steps={[{ label: "Visited", value: 1200 }, { label: "Signed up", value: 420 }, { label: "Activated", value: 210 }]} />
  )
}

API reference#

FunnelSteps props
PropTypeDefault
stepsStep[]SAMPLE_STEPS
classNamestring-

Examples#

All chart components

Learn more