This commit is contained in:
Ubuntu
2026-07-03 16:58:28 +08:00
commit 32b43f85bd
6240 changed files with 1987678 additions and 0 deletions
@@ -0,0 +1,66 @@
---
title: Breadcrumb
description: A navigation component that shows users where they are within a hierarchy.
lastUpdated: 12 May, 2025
links:
source: https://github.com/logging-studio/RetroUI/blob/main/components/retroui/Breadcrumb.tsx
---
<ComponentShowcase name="breadcrumb-style-default" />
<br />
<br />
<ComponentInstall>
<ComponentInstall.Cli npmCommand="npx shadcn@latest add @retroui/breadcrumb" />
<ComponentInstall.Manual>
#### 1. Install dependencies:
```sh
npm install lucide-react class-variance-authority
```
<br />
#### 2. Copy the code 👇 into your project:
<ComponentSource name="breadcrumb" />
</ComponentInstall.Manual>
</ComponentInstall>
<br />
<br />
## Examples
### Default
<hr />
<br />
<ComponentShowcase name="breadcrumb-style-default" />
<br />
<br />
### Custom Separator
<hr />
<br />
<ComponentShowcase name="breadcrumb-custom-separator" />
<br />
<br />
### Collapsed
<hr />
<br />
<ComponentShowcase name="breadcrumb-style-collapsed" />
<br />
<br />
### Link Component
<hr />
<br />
<ComponentShowcase name="breadcrumb-link-component" />
<br />
<br />