# V separator 7

> Basic separator

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

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

## Install

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

## Files

### `registry/default/variants/v-separator-7.tsx`

```tsx
import { Separator } from "@/registry/default/ui/separator";

const breadcrumbs = ["Home", "Products", "Electronics", "Headphones"];

export function Pattern() {
  return (
    <nav aria-label="Breadcrumb">
      <ol className="flex items-center gap-2 text-sm">
        {breadcrumbs.map((crumb, i) => (
          <li className="flex items-center gap-2" key={crumb}>
            {i < breadcrumbs.length - 1 ? (
              <>
                <a
                  className="text-muted-foreground hover:text-foreground"
                  href="#"
                >
                  {crumb}
                </a>
                <Separator className="h-4" orientation="vertical" />
              </>
            ) : (
              <span className="font-medium">{crumb}</span>
            )}
          </li>
        ))}
      </ol>
    </nav>
  );
}
```
