# C funnel chart 1

> Signup funnel — share reaching each step with drop-off

A shadcn/ui block from the [@cnippet](https://ui.cnippet.dev/?utm_source=shadcn.exchange) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet/c-funnel-chart-1).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/c-funnel-chart-1
- Screenshot: https://shadcn.exchange/shot/cnippet/c-funnel-chart-1/light.png
- Registry item: https://ui.cnippet.dev/r/c-funnel-chart-1.json
- Categories: funnel chart
- Listed: 2026-10-27, source last changed 2026-10-27

## Install

```bash
npx shadcn@latest add https://shadcn.exchange/r/cnippet/c-funnel-chart-1.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@cnippet/funnel-chart`, `@cnippet/chart-card`, `@cnippet/chart-utils`

## Files

### `registry/default/chart-variants/c-funnel-chart-1.tsx`

```tsx
"use client";

import { ChartCard } from "@/registry/default/charts/chart-card";
import { FunnelChart } from "@/registry/default/charts/funnel-chart";
import { formatPercent } from "@/registry/default/lib/chart-utils";

const data = [
  { step: "Visited signup", users: 18420 },
  { step: "Started form", users: 9860 },
  { step: "Verified email", users: 6215 },
  { step: "Created workspace", users: 4890 },
  { step: "Invited a teammate", users: 2130 },
];

export default function SignupFunnel() {
  return (
    <ChartCard
      className="max-w-xl"
      description="New visitors in October, from landing to first invite"
      title="Signup funnel"
      value={formatPercent(2130 / 18420)}
    >
      <FunnelChart category="users" data={data} index="step" />
    </ChartCard>
  );
}
```
