# V progress 13

> Fundraiser goal tracker

A shadcn/ui block from the [@cnippet](https://ui.cnippet.dev/) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet/v-progress-13).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/v-progress-13
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/v-progress-13-light-f99c42be9fbc67c5.png
- Registry item: https://ui.cnippet.dev/r/v-progress-13.json
- Categories: progress
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.cnippet.dev/r/v-progress-13.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/progress`

## Files

### `registry/default/variants/v-progress-13.tsx`

```tsx
import { HeartIcon } from "lucide-react";
import {
  Progress,
  ProgressIndicator,
  ProgressTrack,
} from "@/registry/default/ui/progress";

const RAISED = 8_340;
const GOAL = 15_000;

export function Pattern() {
  const pct = Math.min((RAISED / GOAL) * 100, 100);
  return (
    <div className="w-full max-w-xs space-y-3 rounded-lg border p-4">
      <div className="flex items-center gap-2">
        <HeartIcon aria-hidden="true" className="size-4 text-red-500" />
        <span className="font-semibold text-sm">Community Fund Drive</span>
      </div>
      <Progress value={pct}>
        <ProgressTrack>
          <ProgressIndicator className="bg-red-500" />
        </ProgressTrack>
      </Progress>
      <div className="flex items-end justify-between gap-2">
        <div>
          <p className="font-bold text-lg">${RAISED.toLocaleString()}</p>
          <p className="text-muted-foreground text-xs">
            raised of ${GOAL.toLocaleString()} goal
          </p>
        </div>
        <p className="font-medium text-muted-foreground text-sm">
          {Math.round(pct)}%
        </p>
      </div>
    </div>
  );
}
```
