f0rextasy

Breadcrumb Dropdown

Navigation

About

A breadcrumb navigation trail that collapses middle-tier items into a toggleable dropdown when the path has more levels than fit on screen.

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

Code

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

Usage.tsx

import { BreadcrumbDropdown } from "@/components/ui/breadcrumb-dropdown";

export default function BreadcrumbDropdownDemo() {
  return (
    <div className="flex min-h-[200px] w-full items-center justify-center bg-background p-8">
      <BreadcrumbDropdown
        items={[
          { label: "Home", href: "#" },
          { label: "Products", href: "#" },
          { label: "Electronics", href: "#" },
          { label: "Computers", href: "#" },
          { label: "Laptops", active: true },
        ]}
        maxVisible={3}
      />
    </div>
  );
}

More by f0rextasy

View all
  • Newsletter Signup Card

    Newsletter Signup Card

    19
  • Board Checklist

    Board Checklist

    15
  • Stamp Seal

    Stamp Seal

    15
  • Network Graph

    Network Graph

    14
  • Navbar

    Navbar

    12
  • Running Order Timeline

    Running Order Timeline

    11
  • Milestone Chart

    Milestone Chart

    10
  • Empty State Card

    Empty State Card

    7

More in Navigation

View all
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    76
  • Footer with Big Wordmark

    Footer with Big Wordmark

    40
  • Sidebar

    Sidebar

    392
  • Oversized 404 Numeral

    Oversized 404 Numeral

    78
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    67
  • NavBar

    NavBar

    2
  • Pagination

    Pagination

    109
  • Tabs like bookmark

    Tabs like bookmark

    82