---
title: "breadcrumb"
description: "Shows the path to the current resource as a hierarchy of links."
category: "Navigation"
---
# breadcrumb
Shows the path to the current resource as a hierarchy of links.
## Installation
```bash
php artisan ui:add breadcrumb
```
## Dependencies
- composer: `gehrisandro/tailwind-merge-laravel`
## Usage
```blade
HomeCurrent page
```
## Example
The demo rendered on the docs page.
```blade
HomeComponentsBreadcrumb
```
## Source
Copy each file to the path shown above it.
`resources/views/components/ui/breadcrumb/index.blade.php`
```blade
@props([])
@php
$classes = \TailwindMerge\Laravel\Facades\TailwindMerge::merge(
'',
$attributes->get('class'),
);
@endphp
```
`resources/views/components/ui/breadcrumb/list.blade.php`
```blade
@props([])
@php
$classes = \TailwindMerge\Laravel\Facades\TailwindMerge::merge(
'flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5',
$attributes->get('class'),
);
@endphp
```
`resources/views/components/ui/breadcrumb/ellipsis.blade.php`
```blade
@props([])
@php
$classes = \TailwindMerge\Laravel\Facades\TailwindMerge::merge(
'flex size-9 items-center justify-center',
$attributes->get('class'),
);
@endphp
except('class')->merge(['class' => $classes]) }}>
More
```
## Theme tokens
`--muted-foreground`, `--foreground`
Pure markup, no JS. Compose with .item, .link, .page, .separator, .ellipsis. The .separator renders a chevron by default or its slot if provided.