Funnel Stages
Stages that taper with their values, each a rounded trapezoid with a surface gap, the value inside and a legend below.
Interactive preview · desktop · dark
Installation
Installation is available on the Startup and Business plans. Your personal install command appears here once you have access.
Usage
Import it, pass your props, and make it part of your product.
example.tsx
import { Users } from 'lucide-react';import { FunnelStagesChart } from '@/components/component-kit/items/chart-funnel-stages';
export function Example() { return ( <FunnelStagesChart icon={Users} title="Hiring pipeline" stages={[ { id: 'applied', label: 'Applied', value: 1860 }, { id: 'screened', label: 'Screened', value: 940 }, { id: 'interview', label: 'Interviewed', value: 410 }, { id: 'offer', label: 'Offer', value: 96 }, ]} /> );}Props
| Prop | Type | Default | Description |
|---|---|---|---|
stages | FunnelStage[] | — | Stages in order, widest first. |
stageHeight | number | 52 | Height of each stage in pixels. |
minWidth | number | 0.45 | Narrowest stage as a fraction of the widest. |