# Breadcrumb: Dropdown

> Render a `<BreadcrumbLink />` as the trigger of a `<DropdownMenu />` to offer sibling pages.

Example: https://hextaui.com/docs/breadcrumb/examples/dropdown
Component docs: https://hextaui.com/docs/breadcrumb.md

## Add this example

```bash
npx shadcn@latest add https://hextaui.com/r/breadcrumb-dropdown.json
```

This adds `components/examples/breadcrumb/dropdown.tsx` with the Breadcrumb component and the HextaUI theme tokens.

## Source

```tsx title="components/examples/breadcrumb/dropdown.tsx"
import { IconChevronDown } from "@tabler/icons-react"

import {
  Breadcrumb,
  BreadcrumbItem,
  BreadcrumbLink,
  BreadcrumbList,
  BreadcrumbPage,
  BreadcrumbSeparator,
} from "@/components/ui/breadcrumb"
import {
  DropdownMenu,
  DropdownMenuContent,
  DropdownMenuGroup,
  DropdownMenuItem,
  DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu"

export function BreadcrumbDropdown() {
  return (
    <Breadcrumb>
      <BreadcrumbList>
        <BreadcrumbItem>
          <BreadcrumbLink href="#">Home</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <DropdownMenu>
            <DropdownMenuTrigger
              render={<BreadcrumbLink render={<button type="button" />} />}
            >
              Components
              <IconChevronDown />
            </DropdownMenuTrigger>
            <DropdownMenuContent align="start">
              <DropdownMenuGroup>
                <DropdownMenuItem>Documentation</DropdownMenuItem>
                <DropdownMenuItem>Themes</DropdownMenuItem>
                <DropdownMenuItem>GitHub</DropdownMenuItem>
              </DropdownMenuGroup>
            </DropdownMenuContent>
          </DropdownMenu>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbPage>Breadcrumb</BreadcrumbPage>
        </BreadcrumbItem>
      </BreadcrumbList>
    </Breadcrumb>
  )
}
```

## Props in this example

### BreadcrumbLink

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `href` | `string` | – |  |

## More Breadcrumb examples

- [Basic](https://hextaui.com/docs/breadcrumb/examples/basic.md)
- [With icons](https://hextaui.com/docs/breadcrumb/examples/with-icons.md)
- [Custom separator](https://hextaui.com/docs/breadcrumb/examples/custom-separator.md)
- [Collapsed](https://hextaui.com/docs/breadcrumb/examples/controlled.md)
- [Ellipsis](https://hextaui.com/docs/breadcrumb/examples/ellipsis.md)
- [Link component](https://hextaui.com/docs/breadcrumb/examples/link-component.md)
- [Long content](https://hextaui.com/docs/breadcrumb/examples/long-content.md)
- [Right to left](https://hextaui.com/docs/breadcrumb/examples/rtl.md)
