# Shadcn Dropdown Menu

> Breadcrumb with dropdown menu

- Type: example, free and open source (MIT)
- Component: [Breadcrumb](https://reui.io/components/breadcrumb.md)
- Page: https://reui.io/components/breadcrumb/c-breadcrumb-2
- Docs (Base UI): https://ui.shadcn.com/docs/components/base/breadcrumb.md
- Docs (Radix UI): https://ui.shadcn.com/docs/components/radix/breadcrumb.md
- MCP: `get_example("c-breadcrumb-2")`
- Registry item: https://reui.io/r/styles/base-nova/c-breadcrumb-2.json
- Uses: Breadcrumb, Button, Dropdown Menu

## Best for

Middle levels folded into an ellipsis button that opens a dropdown of the hidden pages

## Agent notes

- The 3 `DropdownMenuItem` rows carry no `href`, so choosing one goes nowhere; render each as a link to its hidden page

## Install

```bash
npx shadcn@latest add @reui/c-breadcrumb-2
```

## About Shadcn Breadcrumb

### When to use

- Location trails on docs, store and admin pages that link back up to each parent level
- Workspace, team and file paths whose levels carry avatars, icons, count badges or button styling
- Deep hierarchies whose middle levels collapse into an ellipsis or a dropdown menu

### When not to use

- A whole top header that pairs the trail with tabs, search, switchers and account menus: use the [Navbar blocks](https://reui.io/blocks/application/navbar.md)
- A full product layout of side navigation, header and content around the trail: use the [App Shell blocks](https://reui.io/blocks/application/app-shell.md)
- A divider line between page sections or groups of toolbar controls: use [Separator](https://reui.io/components/separator.md) (`get_component("separator")`)

### Agent notes

- `BreadcrumbLink` takes a router link through `render` on the base twin and `asChild` on the radix twin
- Every level is hard coded and each `href` is a hash placeholder; build the `BreadcrumbItem` list from your route tree

Every ReUI item has a twin like this one; the index is https://reui.io/llms.txt. Agents with the ReUI MCP (https://reui.io/docs/mcp) get the same guidance from the getters named above.
