funnel
GraphFunnel
Steps that narrow as people drop off. Write `- 12,400 docs`. For a plain ranking use Rank, and for a process use Flow.
- use it
- Good for steps that get narrower as people drop off.
install
- docs12,400
- copy4,10033%
- ship8607%
<GraphFunnel title="INSTALL" stage="ship">
- 12,400 docs
- 4,100 copy
- 860 ship
</GraphFunnel>install
command
signup
- visit8,000
- start2,40030%
- verify96012%
- paid1802%
<GraphFunnel title="SIGNUP" ticks={16}>
- 8,000 visit
- 2,400 start
- 960 verify
- 180 paid
</GraphFunnel>| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Caption drawn on the top edge of the frame. |
| steps | FunnelStep[] | — | label, value, and optional display string for the count. Optional when children are Markdown. |
| children | Markdown | — | - 4,100 copy |
| ticks | number | 20 | Width of the first bar, in characters. |
| stage | string | — | Step label to focus. Other rows recede. |
| glyphs | "shade" | "ascii" | "hash" | "bar" | string[] | "shade" | Character set. shade is ·░▒▓█. ascii is .- =#@. Pass a preset or your own characters. |
| palette | "mono" | "duo" | "multi" | "mono" | mono is one accent plus muted. duo paints the second series with --graph-accent-2. multi cycles three accents. |
| corner | string | "+" | Character at each corner of the frame. |
| frame | "box" | "corners" | "rule" | "none" | "box" | box draws the dashed border. corners keeps only the corner marks. rule draws dashed lines above and below. none drops the border and padding, and puts the title above the content. |
| className | string | — | Passed to the outer frame. |