Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Funnel Chart

Preview

From first visit to first payment

Product conversion · Sample cohorts

Visitors100.0%Signed up65.0%Activated45.0%Started trial30.0%Subscribed18.0%
24,000 → 4,320 peopleOverall conversion18.0%

Inspect a stage to see conversion and drop-off

Install

Add it with your package manager, or copy the source manually.

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/funnel-chart

Import the shared styles once in your application.

TSUsage
import FunnelChart from '@/components/beui/charts/FunnelChart.vue'
import '@/components/beui/styles.css'

API Reference

FunnelChart

stages
readonly FunnelStage[]

Ordered stages with finite, nonnegative counts; duplicate IDs are omitted.

Default—
direction?
"vertical" | "horizontal"
Default—
unit?
string
Default—
label?
string
Default—
formatValue?
(value: number) => string
Default—
labels?
Partial<FunnelChartMessages>

Override any built-in string.

Default—
class?
string
Default—
#default?
slot

Compose `FunnelChartPlot` and `FunnelChartSummary`; omit it for the complete chart.

Default—

FunnelChartPlot

class?
string
Default—

FunnelChartSummary

class?
string
Default—

Updated