UI Components
Breadcrumb
Navigation trail showing the current page location in a hierarchy.
Quick Preview
Installation
// Copy fromsrc/components/ui/Breadcrumb.tsx
Usage
import { Breadcrumb } from '@/components/ui/Breadcrumb'const items = [{ label: 'Home', href: '/' },{ label: 'Blog', href: '/blog' },{ label: 'My Post' },]export default function Page() {return <Breadcrumb items={items} />}
Examples
With Home Icon
Custom Separator
With Icons
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items* | BreadcrumbItem[] | - | Array of breadcrumb items with label, href, and optional icon |
separator | React.ReactNode | - | Custom separator element |
showHome | boolean | false | Show home icon at the start |
className | string | - | Additional CSS classes |