# V meter 14

> Basic meter

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

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

## Install

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

## Files

### `registry/default/variants/v-meter-14.tsx`

```tsx
import { UploadCloudIcon } from "lucide-react";
import {
  Meter,
  MeterIndicator,
  MeterLabel,
  MeterTrack,
  MeterValue,
} from "@/registry/default/ui/meter";

export function Pattern() {
  return (
    <div className="w-full max-w-xs rounded-lg border p-4">
      <div className="mb-3 flex items-center gap-2">
        <UploadCloudIcon
          aria-hidden="true"
          className="size-4 text-muted-foreground"
        />
        <span className="font-medium text-sm">Uploading files…</span>
      </div>
      <Meter value={63}>
        <div className="flex items-center justify-between gap-2">
          <MeterLabel className="text-muted-foreground text-xs">
            3 of 5 files complete
          </MeterLabel>
          <MeterValue />
        </div>
        <MeterTrack>
          <MeterIndicator />
        </MeterTrack>
      </Meter>
    </div>
  );
}
```
