Black Friday: 30% off Pro

Get 30% off

Updated

Funnel

Pro

Preview

Customize

Steps5
Accent

Installation

Pro

Funnel is a Pro component

Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.

Install with a key

  1. Add the Pro registry to components.json:
    components.json
    {
      "registries": {
        "@uibrik-pro": {
          "url": "https://uibrik.com/r/pro/{name}.json",
          "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" }
        }
      }
    }
  2. Put your key in .env.local and add that file to .gitignore:
    .env.local
    UIBRIK_LICENSE=your-license-key
  3. Install it:
    Terminal
    npx shadcn@latest add @uibrik-pro/funnel

Usage

import { Funnel } from "@/components/uibrik/funnel/funnel";​<Funnel  title="Trial conversion"  accent=""  format={{}}  onSelect={(step, index) => {}}/>

Where to use Funnel

  • Sign-up conversion

    Drop-off between steps reads as a slope, so the leakiest step is obvious.

    Pairs with Bar List

  • Marketing dashboards

    Each step's share of the start helps compare campaigns that begin at different sizes.

    Pairs with Subscriber Funnel

  • Onboarding analysis

    Hovering a slope shows exactly how many users stopped at each onboarding step.

    Pairs with Revenue Dashboard

Props

Funnel
title
Type string
"Trial conversion"
Names the funnel.
accent
Type string
""
Bar colour. Empty uses the chart palette.
steps
Type { label: string; value: number }[]
–
One entry per step, in order. The first is everyone who entered.
format
Type Intl.NumberFormatOptions
{}
Formats every count, e.g. { style: "currency", currency: "USD" }.
onSelect
Type (step: { label: string; value: number }, index: number) => void
–
Called when a step is clicked, or picked with Enter.
className
Type string
–
Classes for the outer shell.