Rebar UI

1.0

synthetic

FunnelChart

A narrowing-bar chart: each stage scaled against the first, tapering into the next.

Interview recruitmentFrom first contact to a finished call
Contacted48Replied31Booked18Interviewed12Target: 20 booked
Crew interview recruitment
Two stages
Contacted48Replied31
No milestone
Replied31Booked18Interviewed12
Single colour
Contacted48Replied31Booked18Interviewed12

In context

Project cardThe funnel beside the project summary
Crew interviews

Twelve calls, one clear pattern.

Owner: Priya Nair

Due 17 Oct, now late.

Recruitment
Contacted48Replied31Booked18Interviewed12

Props

PropTypeRequiredDefault
stagesFunnelChartStage[]Yes—
titlestring | undefinedNo—
ariaLabelstring | undefinedNo—
heightnumber | undefinedNo64
valueFormat((v: number) => string) | undefinedNo(v: number) => Math.round(v).toLocaleString()
milestonesFunnelChartMilestone[] | undefinedNo[]
bionicboolean | undefinedNo—
bionicOptionsBionicOptions | undefinedNo—

How it reads

Each stage's width is scaled against the first stage's value and eased into the next. Colours cycle through a built-in palette when a stage has no color. milestones adds a dashed checkpoint line at a stage boundary.

data-rebar-* attributes

data-rebar-component="funnel-chart" on the root <figure>.

Migrating to Ant Design

Not codemod-covered. AntD ships no chart components of its own (it recommends @ant-design/charts), so a funnel is reimplemented against whichever charting library the target project uses.