noahgdev

Funnel Chart

Dashboards

About

A conversion funnel for shadcn/ui: each step as a bar, the drop-off between steps, and overall conversion at the end. It is plain HTML rather than SVG, which keeps it easy to restyle and accessible by default.

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

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

const steps = [
  { name: "Link opened", value: 197, color: "var(--color-lime-400)" },
  { name: "Started", value: 110, color: "var(--color-blue-500)" },
  { name: "Completed", value: 77, color: "var(--color-violet-500)" },
  { name: "Converted", value: 38, color: "var(--color-pink-500)" },
]

export default function FunnelChartFlowDemo() {
  return (
    <div className="w-full max-w-lg">
      <FunnelChart variant="flow" steps={steps} />
    </div>
  )
}

More by noahgdev

View all
  • Donut Chart

    Donut Chart

    5
  • Heatmap Chart

    Heatmap Chart

    3
  • Sankey Chart

    Sankey Chart

    2
  • Segmented Meter

    Segmented Meter

    1
  • Revenue Ring Card

    Revenue Ring Card

  • Payment Summary Card

    Payment Summary Card

  • Commerce KPI Row

    Commerce KPI Row

  • Tick KPI Card

    Tick KPI Card

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    754
  • Analytics Dashboard

    Analytics Dashboard

    82
  • Creator Dashboard

    Creator Dashboard

    216
  • Insights Dashboard

    Insights Dashboard

    44
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    458
  • serf dashboard

    serf dashboard

    144
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    66