# C chart empty 2

> No events yet — first-run state before any data arrives

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-chart-empty-2).

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

## Install

```bash
npx shadcn@latest add https://shadcn.exchange/r/cnippet/c-chart-empty-2.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/chart-empty`, `@cnippet/chart-card`, `@cnippet/button`

## Files

### `registry/default/chart-variants/c-chart-empty-2.tsx`

```tsx
"use client";

import { SendIcon, WebhookIcon } from "lucide-react";
import { ChartCard } from "@/registry/default/charts/chart-card";
import { ChartEmpty } from "@/registry/default/charts/chart-empty";
import { Button } from "@/registry/default/ui/button";

export default function NoEventsYet() {
  return (
    <ChartCard
      className="max-w-lg"
      description="Delivered vs failed, per hour"
      title="Webhook deliveries"
    >
      <ChartEmpty
        action={
          <Button size="sm">
            <SendIcon />
            Send test event
          </Button>
        }
        className="aspect-auto h-56"
        description="Deliveries show up here once your endpoint receives its first event."
        icon={<WebhookIcon />}
        title="No events yet"
      />
    </ChartCard>
  );
}
```
