alexander-rukin

Breadcrumbs

Navigation

About

A navigation trail of ancestor links leading to the current page, with chevron separators and automatic collapsing of long paths into an expandable ellipsis.

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 CollapsedBreadcrumbsDemo() {
  return (
    <div className="flex min-h-[200px] w-full items-center justify-center bg-background p-8">
      <Breadcrumbs
        maxItems={4}
        tailCount={1}
        items={[
          { label: "Home", onClick: () => {} },
          { label: "Projects", onClick: () => {} },
          { label: "UI kit", onClick: () => {} },
          { label: "Components", onClick: () => {} },
          { label: "Navigation", onClick: () => {} },
          { label: "Breadcrumbs" },
        ]}
      />
    </div>
  );
}

More by alexander-rukin

View all
  • Carousel

    Carousel

    16
  • Progress

    Progress

    1
  • Filter Chip

    Filter Chip

    1
  • Combobox

    Combobox

  • Textarea

    Textarea

  • Tooltip

    Tooltip

  • Card

    Card

  • Range Slider

    Range Slider

More in Navigation

View all
  • Footer with Big Wordmark

    Footer with Big Wordmark

    92
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    266
  • Button Breadcrumb

    Button Breadcrumb

    36
  • Sidebar

    Sidebar

    418
  • Motion Navigation Menu

    Motion Navigation Menu

  • Astryx Breadcrumb Item

    Astryx Breadcrumb Item

    1
  • Menu

    Menu

    27
  • Progress Bar Stepper

    Progress Bar Stepper

    65