# Breadcrumb

Shows the user's location in a hierarchy, in the `plain`, `contained` or `underline` look.

- Category: Core Elements
- Page: https://wunderui.com/components/breadcrumb
- Tier: Free

## Install

```bash
npx wunderui-cli add breadcrumb
```

## Import

```tsx
import { Breadcrumb, BreadcrumbDensity, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbLoading, BreadcrumbPage, BreadcrumbRestricted, BreadcrumbSeparator, BreadcrumbSiblingTrigger, BreadcrumbVariant } from "@/components/ui/breadcrumb"
```

## Minimal usage

Then use it:

```tsx
import {
  Breadcrumb,
  BreadcrumbItem,
  BreadcrumbLink,
  BreadcrumbList,
  BreadcrumbPage,
  BreadcrumbSeparator,
} from "@/components/ui/breadcrumb"

export function Trail() {
  return (
    <Breadcrumb density="default">
      <BreadcrumbList>
        <BreadcrumbItem>
          <BreadcrumbLink href="/projects">Projects</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbPage>Assets</BreadcrumbPage>
        </BreadcrumbItem>
      </BreadcrumbList>
    </Breadcrumb>
  )
}
```

Expected result: You should see one trail: the link Projects, a chevron and the text Assets in a darker color.

## Usage

```tsx
import {
  Breadcrumb,
  BreadcrumbItem,
  BreadcrumbLink,
  BreadcrumbList,
  BreadcrumbPage,
  BreadcrumbSeparator,
} from "@/components/ui/breadcrumb"

export function Example() {
  return (
    <Breadcrumb density="default">
      <BreadcrumbList>
        <BreadcrumbItem>
          <BreadcrumbLink href="/workspace">Workspace</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbLink href="/projects">Projects</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbLink href="/website-redesign">Website redesign</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbPage>Assets</BreadcrumbPage>
        </BreadcrumbItem>
      </BreadcrumbList>
    </Breadcrumb>
  )
}
```

## When to use

### Use Breadcrumb for

- Nested pages, such as one project's assets or one invoice in a customer account
- A deep hierarchy of files, folders or documentation where people need to step back up
- Any page that can be reached from more than one place, so the trail names where it lives

### Use something else

- [Tabs](https://wunderui.com/components/tabs) for switching between views of the same page
- [Pagination](https://wunderui.com/components/pagination) for moving through the pages of one list
- [Stepper](https://wunderui.com/components/stepper) for the steps of a process, in a fixed order
- [Sidebar](https://wunderui.com/components/sidebar) for the whole tree of an app, always on screen

## Keyboard

The trail is a list of links, so the browser provides focus and activation. The ellipsis and the sibling trigger are buttons that open a Popover.

| Key | Action |
|---|---|
| `Tab` or `Shift+Tab` | Moves focus to the next or previous link or button in the trail, in the order they are written. The current page is not a stop. |
| `Enter` | Follows the focused link, or opens the list of hidden levels or siblings from its button. |
| `Space` | Opens the list from the ellipsis or the sibling trigger. |
| `Esc` | Closes an open list and returns focus to the button that opened it. |

## Behavior

What the trail draws itself, and what it leaves to the page.

- **Landmark and list:** Breadcrumb is a nav named breadcrumb around an ordered list. Separators are hidden list items, so a screen reader reads the levels and not the chevrons.
- **Current page:** BreadcrumbPage is a span marked as the current page and disabled. It is not a link and does not react to the pointer.
- **Layout and density:** Without density the trail is a small inline list that wraps. With density it is a 36 px or 28 px row on one line, so a trail longer than its box needs collapsing, truncating or a parent link.
- **Link states:** A link darkens and underlines on hover, fills with the subtle tone while pressed and shows the focus ring directly on the item. In the underline look the underline turns primary on hover.
- **Collapsed levels:** BreadcrumbEllipsis is only the button. It opens whatever you put next to it, such as a Popover with links to the hidden levels in their real order, and shows an open state.
- **Sibling switcher:** BreadcrumbSiblingTrigger is a second button beside the link. The link still navigates; the button opens the list of sibling pages and its chevron turns while the list is open.
- **Restricted level:** BreadcrumbRestricted is focusable, shows a lock and explains itself through its title. It is a disabled link and never navigates.
- **Loading name:** BreadcrumbLoading is a quiet grey block that is a status region with an accessible name. There is no spinner.
- **Long names:** Truncated limits a link or the current page to 160 px, ends the text in an ellipsis and sets the full name as the title.
- **Narrow screens:** The trail does not shorten itself. Below 360 px of width show a single link to the parent page instead.
- **Motion:** Color, underline and fill changes are quick. The chevron of the sibling trigger turns 180 degrees while its list is open.
- **Reduced motion:** With reduced motion on, the sibling chevron turns without a transition. Nothing else in the trail moves.

## Anatomy

- `Breadcrumb`: The nav landmark named breadcrumb. Variant sets the look (plain, contained or underline), and density (36 px or 28 px rows) switches to the sized layout on one line.
- `BreadcrumbList`: The ordered list of items and separators. Contained draws the border and surface and underline the line below; without density it wraps to a second line when room runs out.
- `BreadcrumbItem`: One step of the trail, a list item holding a link or, at the end, the current page.
- `BreadcrumbLink`: A level above the current page, a link that can hold an icon before the text. Truncated limits it to 160 px with an ellipsis and the full name as its title.
- `BreadcrumbSeparator`: A list item between two items, hidden from screen readers. It shows a chevron, a slash, or your own icon.
- `BreadcrumbEllipsis`: A button that stands for hidden middle levels. Use it as the trigger of a Popover that lists them; it shows an open state.
- `BreadcrumbPage`: The current page as text, not a link, marked as the current page. It can be truncated like a link.
- `BreadcrumbSiblingTrigger`: A separate button beside a link that opens a list of sibling pages. The link still navigates; the chevron turns when the list is open.
- `BreadcrumbRestricted`: A level the person cannot open. It stays in the trail with a lock, is focusable and explains itself through its title.
- `BreadcrumbLoading`: A quiet placeholder for the current level while its name loads. It is a status region; there is no spinner.

## Best practices

### When to use

- Use a Breadcrumb on nested pages, such as one project's settings, so people see where they are and can step back up. For switching between sibling views, use Tabs.

### Do

- End the trail with BreadcrumbPage, not a link. It is marked as the current page, so screen readers announce where the person is.
- Put a separator between items yourself; the list does not add them. Each one sits in its own list item and is hidden from assistive technology.
- Pass a density to get the sized layout: 36 px rows with hover underline, pressed fill and focus ring. Without it the trail is the small inline list.
- Collapse deep trails to the root, the parent and the current page. Put the hidden levels behind an ellipsis that opens a list of links, in their real order.
- Keep a restricted level visible with BreadcrumbRestricted instead of removing it, so the trail stays truthful.
- Show the trail as one link to the parent page below 360 px of width.

### Don't

- Don't link the current page or mark a link as current by hand. BreadcrumbPage already marks the last step and is not clickable.
- Don't show a spinner while the current name loads. Use BreadcrumbLoading, a quiet placeholder with the right accessible name.
- Don't use a breadcrumb as the only way to move around. It shows the path to the page, not every page there is.

## API reference

### Breadcrumb

| Prop | Type | Default | Description |
|---|---|---|---|
| density | "default" \| "compact" |  | Switches to the sized layout on one line: `default` is a 36 px row with 28 px items, `compact` a 28 px row with 24 px items. Without it the trail is the small inline list that wraps. |
| variant | "plain" \| "contained" \| "underline" \| "border" | "plain" | The look of the trail: `plain` text, `contained` in a bordered box, `underline` with a line below. `border` is the old name of `contained`. |

Also accepts React.HTMLAttributes attributes.

### BreadcrumbEllipsis

| Prop | Type | Default |
|---|---|---|


Also accepts React.ButtonHTMLAttributes attributes.

### BreadcrumbItem

| Prop | Type | Default |
|---|---|---|


Also accepts React.LiHTMLAttributes attributes.

### BreadcrumbLink

| Prop | Type | Default | Description |
|---|---|---|---|
| truncated | boolean |  | Limits the link to 160 px, ends a long text in an ellipsis and sets the full text as `title`. |

Also accepts React.AnchorHTMLAttributes attributes.

### BreadcrumbList

| Prop | Type | Default |
|---|---|---|


Also accepts React.OlHTMLAttributes attributes.

### BreadcrumbLoading

| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | "Loading" | The accessible name of the placeholder, read by screen readers as a status. Name what is loading: `Loading the page name`. |

Also accepts React.HTMLAttributes attributes.

### BreadcrumbPage

| Prop | Type | Default | Description |
|---|---|---|---|
| truncated | boolean |  | Limits the current page to 160 px, ends a long text in an ellipsis and sets the full text as `title`. |

Also accepts React.HTMLAttributes attributes.

### BreadcrumbRestricted

| Prop | Type | Default |
|---|---|---|


Also accepts React.HTMLAttributes attributes.

### BreadcrumbSeparator

| Prop | Type | Default | Description |
|---|---|---|---|
| type | "chevron" \| "slash" | "chevron" | `chevron` or `slash`. Pass your own icon as children to replace both. |

Also accepts React.LiHTMLAttributes attributes.

### BreadcrumbSiblingTrigger

| Prop | Type | Default |
|---|---|---|


Also accepts React.ButtonHTMLAttributes attributes.

## Examples

### Density: default and compact

```tsx
import {
  Breadcrumb,
  BreadcrumbItem,
  BreadcrumbLink,
  BreadcrumbList,
  BreadcrumbPage,
  BreadcrumbSeparator,
} from "@/components/ui/breadcrumb"

export function Example() {
  return (
    <Breadcrumb variant="contained" density="default">
      <BreadcrumbList>
        <BreadcrumbItem>
          <BreadcrumbLink href="/workspace">Workspace</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbLink href="/projects">Projects</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbLink href="/website-redesign">Website redesign</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbPage>Assets</BreadcrumbPage>
        </BreadcrumbItem>
      </BreadcrumbList>
    </Breadcrumb>
  )
}
```

### Separator: chevron and slash

```tsx
import {
  Breadcrumb,
  BreadcrumbItem,
  BreadcrumbLink,
  BreadcrumbList,
  BreadcrumbPage,
  BreadcrumbSeparator,
} from "@/components/ui/breadcrumb"

export function Example() {
  return (
    <Breadcrumb density="default">
      <BreadcrumbList>
        <BreadcrumbItem>
          <BreadcrumbLink href="/workspace">Workspace</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbLink href="/projects">Projects</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbLink href="/website-redesign">Website redesign</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbPage>Assets</BreadcrumbPage>
        </BreadcrumbItem>
      </BreadcrumbList>
    </Breadcrumb>
  )
}
```

### Content: text, home icon, workspace icon, entity icons and a long name

```tsx
import {
  Breadcrumb,
  BreadcrumbItem,
  BreadcrumbLink,
  BreadcrumbList,
  BreadcrumbPage,
  BreadcrumbSeparator,
} from "@/components/ui/breadcrumb"

export function Example() {
  return (
    <Breadcrumb density="default">
      <BreadcrumbList>
        <BreadcrumbItem>
          <BreadcrumbLink href="/workspace">Workspace</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbLink href="/projects">Projects</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbLink href="/website-redesign">Website redesign</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbPage>Assets</BreadcrumbPage>
        </BreadcrumbItem>
      </BreadcrumbList>
    </Breadcrumb>
  )
}
```

### Deep trails: full, collapsed and a parent link

```tsx
import {
  Breadcrumb,
  BreadcrumbItem,
  BreadcrumbLink,
  BreadcrumbList,
  BreadcrumbPage,
  BreadcrumbSeparator,
} from "@/components/ui/breadcrumb"

export function Example() {
  return (
    <Breadcrumb density="default">
      <BreadcrumbList>
        <BreadcrumbItem>
          <BreadcrumbLink href="/workspace">Workspace</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbLink href="/projects">Projects</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbLink href="/design-system">Design system</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbLink href="/assets">Assets</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbPage>Icon library</BreadcrumbPage>
        </BreadcrumbItem>
      </BreadcrumbList>
    </Breadcrumb>
  )
}
```

### Level types: link, restricted, loading and sibling switcher

```tsx
import {
  Breadcrumb,
  BreadcrumbItem,
  BreadcrumbLink,
  BreadcrumbList,
  BreadcrumbPage,
  BreadcrumbSeparator,
} from "@/components/ui/breadcrumb"

export function Example() {
  return (
    <Breadcrumb density="default">
      <BreadcrumbList>
        <BreadcrumbItem>
          <BreadcrumbLink href="/workspace">Workspace</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbLink href="/projects">Projects</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbLink href="/website-redesign">Website redesign</BreadcrumbLink>
        </BreadcrumbItem>
        <BreadcrumbSeparator />
        <BreadcrumbItem>
          <BreadcrumbPage>Assets</BreadcrumbPage>
        </BreadcrumbItem>
      </BreadcrumbList>
    </Breadcrumb>
  )
}
```

## In context

### Page header: the trail above a heading

The plain trail above the heading shows where the page lives and how to get back up.

```tsx
import {
  Breadcrumb,
  BreadcrumbItem,
  BreadcrumbLink,
  BreadcrumbList,
  BreadcrumbPage,
  BreadcrumbSeparator,
} from "@/components/ui/breadcrumb"

export function Example() {
  return (
    <header className="flex flex-col gap-3">
      <Breadcrumb density="default">
        <BreadcrumbList>
          <BreadcrumbItem>
            <BreadcrumbLink href="/workspace">Workspace</BreadcrumbLink>
          </BreadcrumbItem>
          <BreadcrumbSeparator />
          <BreadcrumbItem>
            <BreadcrumbLink href="/projects">Projects</BreadcrumbLink>
          </BreadcrumbItem>
          <BreadcrumbSeparator />
          <BreadcrumbItem>
            <BreadcrumbLink href="/website-redesign">Website redesign</BreadcrumbLink>
          </BreadcrumbItem>
          <BreadcrumbSeparator />
          <BreadcrumbItem>
            <BreadcrumbPage>Assets</BreadcrumbPage>
          </BreadcrumbItem>
        </BreadcrumbList>
      </Breadcrumb>
      <div className="flex flex-col gap-1">
        <h1 className="text-2xl font-semibold">Assets</h1>
        <p className="text-sm text-text-secondary">Brand assets for the website redesign.</p>
      </div>
    </header>
  )
}
```

### File manager: go deeper, go back and collapse a deep trail

A folder opens one level deeper and a level in the trail goes back. Past four levels the middle collapses behind the ellipsis.

```tsx
import { Fragment, useState } from "react"
import { FileText, Folder } from "lucide-react"
import {
  Breadcrumb,
  BreadcrumbEllipsis,
  BreadcrumbItem,
  BreadcrumbLink,
  BreadcrumbList,
  BreadcrumbPage,
  BreadcrumbSeparator,
} from "@/components/ui/breadcrumb"
import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover"

const TREE: Record<string, string[]> = {
  Files: ["Projects", "Finance"],
  Projects: ["Website redesign", "Mobile app launch"],
  "Website redesign": ["Brand assets", "Copy"],
  "Brand assets": ["Logos", "Photography"],
  Logos: ["brand-guidelines-final-v3-approved.pdf"],
}

const MENU_ITEM =
  "flex h-9 items-center rounded-md px-2 text-sm font-medium text-foreground transition-colors duration-fast ease-move hover:bg-bg-page active:bg-bg-subtle aria-[current=page]:bg-bg-subtle focus-ring motion-reduce:transition-none"

export function Example() {
  const [path, setPath] = useState(["Files", "Projects", "Website redesign", "Brand assets", "Logos"])
  const current = path[path.length - 1]
  // Deep trails keep the root, the parent and the current level; the middle collapses behind an ellipsis.
  const collapsed = path.length > 4
  const hidden = collapsed ? path.slice(1, path.length - 2) : []
  const visible = collapsed ? [path[0], ...path.slice(-2)] : path
  const open = (level: string) => setPath(path.slice(0, path.indexOf(level) + 1))

  return (
    <div className="flex flex-col gap-4">
      <Breadcrumb density="default">
        <BreadcrumbList>
          {visible.map((level, index) => (
            <Fragment key={level}>
              {index > 0 && <BreadcrumbSeparator />}
              {collapsed && index === 1 && (
                <>
                  <BreadcrumbItem>
                    <Popover>
                      <PopoverTrigger render={<BreadcrumbEllipsis />} />
                      <PopoverContent align="start" className="w-60 p-1">
                        {hidden.map((item) => (
                          <button key={item} type="button" className={MENU_ITEM} onClick={() => open(item)}>
                            {item}
                          </button>
                        ))}
                      </PopoverContent>
                    </Popover>
                  </BreadcrumbItem>
                  <BreadcrumbSeparator />
                </>
              )}
              <BreadcrumbItem>
                {level === current ? (
                  <BreadcrumbPage truncated>
                    {level.endsWith(".pdf") ? <FileText strokeWidth={1.5} /> : <Folder strokeWidth={1.5} />}
                    {level}
                  </BreadcrumbPage>
                ) : (
                  <BreadcrumbLink
                    href="#"
                    onClick={(event) => {
                      event.preventDefault()
                      open(level)
                    }}
                  >
                    {level}
                  </BreadcrumbLink>
                )}
              </BreadcrumbItem>
            </Fragment>
          ))}
        </BreadcrumbList>
      </Breadcrumb>
      <ul className="flex flex-col gap-1">
        {(TREE[current] ?? []).map((name) => (
          <li key={name}>
            <button type="button" onClick={() => setPath([...path, name])}>
              {name}
            </button>
          </li>
        ))}
      </ul>
    </div>
  )
}
```

### Project header: switch to a sibling project

The link goes to the project. The chevron beside it opens the sibling projects, and the heading follows the choice.

```tsx
import { useState } from "react"
import {
  Breadcrumb,
  BreadcrumbItem,
  BreadcrumbLink,
  BreadcrumbList,
  BreadcrumbPage,
  BreadcrumbSeparator,
  BreadcrumbSiblingTrigger,
} from "@/components/ui/breadcrumb"
import { Popover, PopoverClose, PopoverContent, PopoverTrigger } from "@/components/ui/popover"

const PROJECTS = ["Website redesign", "Mobile app launch", "Brand refresh", "Q4 campaign"]

const MENU_ITEM =
  "flex h-9 items-center rounded-md px-2 text-sm font-medium text-foreground transition-colors duration-fast ease-move hover:bg-bg-page active:bg-bg-subtle aria-[current=page]:bg-bg-subtle focus-ring motion-reduce:transition-none"

export function Example() {
  const [project, setProject] = useState("Website redesign")

  return (
    <header className="flex flex-col gap-3">
      <Breadcrumb density="default">
        <BreadcrumbList>
          <BreadcrumbItem>
            <BreadcrumbLink href="/projects">Projects</BreadcrumbLink>
          </BreadcrumbItem>
          <BreadcrumbSeparator />
          <BreadcrumbItem>
            <BreadcrumbLink href="/projects/current">{project}</BreadcrumbLink>
            <Popover>
              <PopoverTrigger render={<BreadcrumbSiblingTrigger />} />
              <PopoverContent align="start" className="w-60 p-1">
                {PROJECTS.map((item) => (
                  <PopoverClose
                    key={item}
                    className={MENU_ITEM}
                    aria-current={item === project ? "page" : undefined}
                    onClick={() => setProject(item)}
                  >
                    {item}
                  </PopoverClose>
                ))}
              </PopoverContent>
            </Popover>
          </BreadcrumbItem>
          <BreadcrumbSeparator />
          <BreadcrumbItem>
            <BreadcrumbPage>Assets</BreadcrumbPage>
          </BreadcrumbItem>
        </BreadcrumbList>
      </Breadcrumb>
      <h1 className="text-2xl font-semibold">{project}</h1>
    </header>
  )
}
```

### Detail page: a restricted level and a loading name

A level the person cannot open stays in the trail with a lock. While the name loads, a quiet placeholder takes its place.

```tsx
import { useEffect, useState } from "react"
import {
  Breadcrumb,
  BreadcrumbItem,
  BreadcrumbLink,
  BreadcrumbList,
  BreadcrumbLoading,
  BreadcrumbPage,
  BreadcrumbRestricted,
  BreadcrumbSeparator,
} from "@/components/ui/breadcrumb"
import { Button } from "@/components/ui/button"

export function Example() {
  const [name, setName] = useState<string | null>(null)

  // The page name arrives after the request; until then the trail shows a quiet placeholder.
  useEffect(() => {
    if (name) return
    const timer = window.setTimeout(() => setName("Invoice 2041"), 1400)
    return () => window.clearTimeout(timer)
  }, [name])

  return (
    <div className="flex flex-col items-start gap-4">
      <Breadcrumb density="default">
        <BreadcrumbList>
          <BreadcrumbItem>
            <BreadcrumbLink href="/workspace">Workspace</BreadcrumbLink>
          </BreadcrumbItem>
          <BreadcrumbSeparator />
          <BreadcrumbItem>
            <BreadcrumbRestricted>Finance</BreadcrumbRestricted>
          </BreadcrumbItem>
          <BreadcrumbSeparator />
          <BreadcrumbItem>
            {name ? <BreadcrumbPage>{name}</BreadcrumbPage> : <BreadcrumbLoading label="Loading the page name" />}
          </BreadcrumbItem>
        </BreadcrumbList>
      </Breadcrumb>
      <Button variant="plain" size="sm" onClick={() => setName(null)}>
        Load again
      </Button>
    </div>
  )
}
```

### Narrow screens: a link to the parent page

Below 360 px the trail shows one link to the parent page. Switch the preview to mobile width to see it.

```tsx
import { ChevronLeft } from "lucide-react"
import {
  Breadcrumb,
  BreadcrumbItem,
  BreadcrumbLink,
  BreadcrumbList,
  BreadcrumbPage,
  BreadcrumbSeparator,
} from "@/components/ui/breadcrumb"

export function Example() {
  return (
    <div className="@container">
      {/* Below 360 px the trail is one link to the parent page. */}
      <Breadcrumb density="default" className="hidden @[360px]:block">
        <BreadcrumbList>
          <BreadcrumbItem>
            <BreadcrumbLink href="/workspace">Workspace</BreadcrumbLink>
          </BreadcrumbItem>
          <BreadcrumbSeparator />
          <BreadcrumbItem>
            <BreadcrumbLink href="/projects">Projects</BreadcrumbLink>
          </BreadcrumbItem>
          <BreadcrumbSeparator />
          <BreadcrumbItem>
            <BreadcrumbLink href="/website-redesign">Website redesign</BreadcrumbLink>
          </BreadcrumbItem>
          <BreadcrumbSeparator />
          <BreadcrumbItem>
            <BreadcrumbPage>Assets</BreadcrumbPage>
          </BreadcrumbItem>
        </BreadcrumbList>
      </Breadcrumb>
      <Breadcrumb density="default" className="@[360px]:hidden">
        <BreadcrumbList>
          <BreadcrumbItem>
            <BreadcrumbLink href="/website-redesign">
              <ChevronLeft strokeWidth={1.5} />
              Website redesign
            </BreadcrumbLink>
          </BreadcrumbItem>
        </BreadcrumbList>
      </Breadcrumb>
    </div>
  )
}
```

## For AI agents

`get_component("breadcrumb")`

Hand your agent this page as Markdown or the WunderUI MCP server, not a screenshot.
