sigilUI

Funnel Chart

A conversion funnel chart showing step-by-step drop-off rates with values.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { FunnelChart } from "@sigil-ui/components";

Usage

<FunnelChart
  steps={[
    { label: "Visitors", value: 10000 },
    { label: "Signups", value: 3200 },
    { label: "Active", value: 1800 },
    { label: "Paid", value: 450 },
  ]}
  showRates
  showValues
/>

Props

PropTypeDefaultDescription
stepsFunnelStep[]—Funnel stages from widest to narrowest
showRatesbooleantrueShow conversion rate between steps
showValuesbooleantrueShow absolute values on bars

Token integration

CSS VariablePurpose
--s-primaryDefault bar color
--s-primary-contrastBar text color
--s-text-mutedConversion rate labels
--s-font-monoValue and rate font
--s-radius-smBar corner radius
--s-duration-fastHover transition