# V progress 11

> Survey completion counter

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

- Page, with a live preview: https://shadcn.exchange/r/cnippet/v-progress-11
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/v-progress-11-light-76f9ad692b670551.png
- Registry item: https://ui.cnippet.dev/r/v-progress-11.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-11.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-11.tsx`

```tsx
"use client";

import {
  Progress,
  ProgressIndicator,
  ProgressLabel,
  ProgressTrack,
  ProgressValue,
} from "@/registry/default/ui/progress";

const TOTAL = 10;
const CURRENT = 4;

export function Pattern() {
  const value = (CURRENT / TOTAL) * 100;
  return (
    <div className="w-full max-w-sm">
      <Progress value={value}>
        <div className="flex items-center justify-between gap-2">
          <ProgressLabel>Survey progress</ProgressLabel>
          <ProgressValue>{() => `${CURRENT} of ${TOTAL}`}</ProgressValue>
        </div>
        <ProgressTrack>
          <ProgressIndicator />
        </ProgressTrack>
      </Progress>
    </div>
  );
}
```
