Funnel Drop
A conversion funnel that draws itself: stages rise left to right with rolling counts, a stream of dots drains away at each narrowing and a pointer inspects the biggest drop before switching period. Visitors can hover or arrow through the stages, switch the period and press Escape to clear.
pixikit.com/docs/blocks/illustrations/funnel-drop
Customize
Default period0
Autoplay
Loop
Speed1.0x
Height360px
Width560px
Props
15| Name | Type | Default | Description |
|---|---|---|---|
stages | FunnelDropStage[] | DEFAULT_STAGES | The stages, left to right; counts should fall from one to the next. |
periods | [string, string] | DEFAULT_PERIODS | The names of the two period chips. |
title | string | "Sign-up funnel" | The name in the top bar. |
rateLabel | string | "Overall" | The label before the overall rate. |
keptLabel | string | "{n}% kept" | The kept line of a stage tag; {n} is the percent. |
lostLabel | string | "{n} lost" | The lost line of a stage tag; {n} is the count. |
defaultPeriod | number | 0 | The index of the period shown first. |
onPeriodChange | (index: number) => void | None | Called when the visitor picks a period. |
autoplay | boolean | true | Starts when the scene scrolls into view; when off it waits for a click on replay. |
loop | boolean | true | Plays again from the start after the hold. |
speed | number | 1 | Playback speed multiplier. |
height | number | 360 | The height of the scene in px. |
width | number | 560 | The widest the scene grows, in px. It shrinks to fit a narrower parent. |
replayLabel | string | "Replay" | What screen readers call the replay button. |
className | string | None |