bklitai

Funnel Chart

Dashboards 296

About

Here is Funnel Chart component

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Funnel Chart to your project and fits it to your theme.

Code

How Funnel Chart is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

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

export default function FunnelChartDemo5() {
  return (
    <div className="mx-auto w-[60%] max-w-3xl">
      <FunnelChart
        data={[
          {
            label: "Awareness",
            value: 4100,
            gradient: [
              { offset: "0%", color: "var(--chart-1)" },
              { offset: "100%", color: "var(--chart-2)" },
            ],
          },
          {
            label: "Interest",
            value: 2957,
            gradient: [
              { offset: "0%", color: "var(--chart-2)" },
              { offset: "100%", color: "var(--chart-3)" },
            ],
          },
          {
            label: "Consideration",
            value: 1084,
            gradient: [
              { offset: "0%", color: "var(--chart-3)" },
              { offset: "100%", color: "var(--chart-4)" },
            ],
          },
          {
            label: "Intent",
            value: 1038,
            gradient: [
              { offset: "0%", color: "var(--chart-4)" },
              { offset: "100%", color: "var(--chart-5)" },
            ],
          },
          {
            label: "Purchase",
            value: 320,
            gradient: [
              { offset: "0%", color: "var(--chart-5)" },
              { offset: "100%", color: "var(--chart-1)" },
            ],
          },
        ]}
        layers={3}
      />
    </div>
  );
}

Dependencies

More by bklitai

View all
  • Area Chart

    Area Chart

    362
  • Bar Chart

    Bar Chart

    120
  • Sankey Diagram

    Sankey Diagram

    53
  • Candlestick Chart

    Candlestick Chart

    15

More in Dashboards

View all
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.6K
  • Stat Card

    Stat Card

    36
  • Sidebar

    Sidebar

    388
  • SaaS Template

    SaaS Template

    2.7K
  • Fitness Bento Grid

    Fitness Bento Grid

    36
  • Stats Bento

    Stats Bento

    1.2K
  • Glassy Dashboard

    Glassy Dashboard

    38
  • Course Design Cards

    Course Design Cards

    1.3K