# Label Standard 5 - With optional indicator

> Label with Optional Indicator.

A shadcn/ui block from the [@shadcnblocks](https://shadcnblocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnblocks/label-label-standard-5).

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/label-label-standard-5
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/label-label-standard-5-light-2247624ec6cac9a7.png
- Registry item: https://shadcnblocks.com/r/label-label-standard-5.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/label-label-standard-5.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: `label`

## Files

### `example/label/label-standard-5.tsx`

```tsx
import { Label } from "@/components/ui/label";

export const title = "Label with Optional Indicator";

const Example = () => (
  <Label>
    Phone Number{" "}
    <span className="font-normal text-muted-foreground">(optional)</span>
  </Label>
);

export default Example;
```
