Skip to content

Funnel

How many go on at each step of a path: visited, signed up, created a project, paid. Each step says how many of the step before went on.

import { Funnel } from '@sypnia/ui/react'

On this page
  1. From visit to paying
  2. When to use it
  3. For everyone
  4. Props

From visit to paying

From visit to paying
Last 30 days
  1. Visited the site12.4K
  2. Signed up1,86015%
  3. Created a project1,12060%
  4. Paid21019%
View as table
#of the previous stepof the first step
Visited the site12.4K—100%
Signed up1,86015%15%
Created a project1,12060%9%
Paid21019%2%
Code
import { Funnel } from '@sypnia/ui/react';

// How many go on at each step, and how many of the step before.
export default function SignUp() {
  return <Funnel title="From visit to paying" subtitle="Last 30 days" steps={[{ label: 'Visited the site', value: 12400 }, { label: 'Signed up', value: 1860 }, { label: 'Created a project', value: 1120 }, { label: 'Paid', value: 210 }]} />;
}

When to use it

Use it when

  • Paths with steps in a fixed order.

Do not use it when

  • Parts of one whole: use PartToWhole.

For everyone

  • Each step is named with its value and the share of the previous step.
  • On phones the bar goes under the name.

Props

FunnelTypeDefault
stepsrequired { label: string; value: number; }[]
titlerequired ReactNode
empty ReactNode
error ReactNode
formatValue Fmt
height number
loading boolean
subtitle ReactNode
  1. From visit to paying
  2. When to use it
  3. For everyone
  4. Props

    Search pages, sections and terms