alexisroe

Breadcrumbs

Navigation

About

A compound breadcrumb navigation trail that renders a home icon before the first step and a slash separator between steps, calling back with the clicked step's target.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Breadcrumbs to your project and fits it to your theme.

Code

How Breadcrumbs is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { BreadCrumbs } from "@/components/ui/breadcrumbs";

export default function BreadCrumbsNavigateDemo() {
  return (
    <div className="flex min-h-[200px] w-full items-center justify-center bg-white p-8 font-mono text-black">
      <BreadCrumbs onNavigate={(target) => alert(`Navigate to: ${target}`)}>
        <BreadCrumbs.Item target="/">Home</BreadCrumbs.Item>
        <BreadCrumbs.Item target="/reports">Reports</BreadCrumbs.Item>
        <BreadCrumbs.Item target="/reports/2026">2026</BreadCrumbs.Item>
      </BreadCrumbs>
    </div>
  );
}

More by alexisroe

View all
  • Log

    Log

    9
  • Notification

    Notification

    2
  • Number Stepper

    Number Stepper

    2
  • Segmented Control

    Segmented Control

    2
  • Chip

    Chip

    2
  • Checkbox

    Checkbox

    1
  • E-Ink Code

    E-Ink Code

  • QR Code

    QR Code

More in Navigation

View all
  • Footer with Big Wordmark

    Footer with Big Wordmark

    169
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    442
  • Meniscus — Liquid Bottom Navigation Bar

    Meniscus — Liquid Bottom Navigation Bar

    33
  • Sidebar

    Sidebar

    444
  • Tabs

    Tabs

    38
  • Pagination

    Pagination

    121
  • Sidebar

    Sidebar

    367
  • Stacked Circular Footer

    Stacked Circular Footer

    470