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

    8
  • 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

    100
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    295
  • Sidebar

    Sidebar

    422
  • Pagination with Ellipsis

    Pagination with Ellipsis

    25
  • Pagination

    Pagination

    3
  • Tabs

    Tabs

    33
  • Menu

    Menu

    23
  • Breadrcrumb

    Breadrcrumb

    6