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

    3
  • Number Stepper

    Number Stepper

    1
  • E-Ink Code

    E-Ink Code

  • QR Code

    QR Code

  • E-Ink Progress Bar

    E-Ink Progress Bar

  • Navigation

    Navigation

  • Pill

    Pill

  • Notification

    Notification

More in Navigation

View all
  • Sidebar

    Sidebar

    347
  • Pagination

    Pagination

    101
  • Oversized 404 Numeral

    Oversized 404 Numeral

    69
  • Breadcramb

    Breadcramb

    41
  • Sidebar

    Sidebar

    355
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    57
  • Dorpdown Navigation

    Dorpdown Navigation

    235
  • Navbar

    Navbar

    7