# Components Breadcrumb: Slash Breadcrumb

A breadcrumb that divides its links with a forward slash. Mirrors a file path style for code tools, documentation, and folder browsing screens.

- Page: https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/slash-breadcrumb
- Collection: [Components](https://www.shadcn-ui-blocks.com/blocks/components), Free tier
- Group: [Breadcrumbs](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/slash-breadcrumb.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/components-breadcrumbs-slash-breadcrumb
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/components-breadcrumbs-slash-breadcrumb.json"`.

## Depends on

- npm packages: lucide-react, radix-ui
- shadcn/ui components: breadcrumb
- Installs to: `@/components/blocks/components/breadcrumbs/slash-breadcrumb`

## About this block

Slash Breadcrumb is a horizontal navigation trail that separates each
link with a forward slash character. Four items appear in sequence:
a Home link, a Products link, a Categories link, and a current page
label for Electronics that carries no href and is rendered as plain
text to signal the active location. Each slash sits between the items
in a muted tone so the links stand out while the separators recede.

The links and the current page label are all independent copy. You can
add or remove steps to match any depth of hierarchy, swap the demo
labels for your own section names, and rewrite the hrefs to point at
your routes. Nothing in the structure depends on a specific number of
items, so a two step path or a five step path both work without layout
changes.

## When to use

Reach for this block when the path itself is meaningful to the reader
and the slash character reinforces that meaning. It fits naturally on
any screen where content lives inside a nested folder or category
structure: a careers platform showing a candidate moving through
Department, Role, and Job Detail, or a hiring tool where a recruiter
is inside a specific pipeline stage. The slash separator reads as a
file path, which makes it the clearest choice for documentation sites,
admin tools, and any product where users navigate through named
levels.

A natural flow around it on a Components page:

**Before**

- A short page header or section title to identify the current view
- [Badges](https://www.shadcn-ui-blocks.com/blocks/components/badges) to mark status or category near
  the heading

**After**

- [Tabs](https://www.shadcn-ui-blocks.com/blocks/components/tabs) to switch between views at the
  current level without losing the breadcrumb context
- [Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination) when the page lists
  records within the current category

## What you can display

The block suits any product with hierarchical navigation. A few
concrete fits:

- **Job and pipeline pages.** Show candidates or recruiters exactly
  where they are inside an org, department, or role hierarchy with
  slash separated path labels.
- **Document or policy sections.** Lead readers through a knowledge
  base structure so they can jump back to a parent category in one
  click.
- **Product catalogue depth.** Mark the path from a top level
  catalogue down to a specific item so shoppers can backtrack without
  using the browser button.

> Tip: keep the path to four steps or fewer. Longer paths compress on
> small screens and the middle steps become hard to tap.

## More in Components Breadcrumbs

- [Background Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/background-breadcrumb)
- [Bordered Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/bordered-breadcrumb)
- [Card Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/card-breadcrumb)
- [Compact Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/compact-breadcrumb)
- [Dot Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/dot-breadcrumb)
- [Icon Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/icon-breadcrumb)
- [Numbered Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/numbered-breadcrumb)
- [Pill Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/pill-breadcrumb)
- [Progress Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/progress-breadcrumb)
- [Sticky Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/sticky-breadcrumb)
- [Timeline Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/timeline-breadcrumb)
