properui

Breadcrumbs

Navigation

About

A navigation trail of links showing the user's current location within a site hierarchy, with support for icons, a collapsed overflow menu, and an account switcher.

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";
import { AVATARS } from "@/components/ui/breadcrumbs-utils/breadcrumbs-demo-assets";

export default function Demo() {
  const account = AVATARS[0];

  return (
    <Breadcrumbs type="text" divider="slash">
      <Breadcrumbs.Item href="#">Home</Breadcrumbs.Item>
      <Breadcrumbs.Item href="#">Projects</Breadcrumbs.Item>
      <Breadcrumbs.AccountMenu
        src={account.src}
        alt={account.alt}
        items={[
          { id: "profile", label: "View profile" },
          { id: "settings", label: "Settings" },
          { id: "logout", label: "Log out" },
        ]}
      >
        {account.name}
      </Breadcrumbs.AccountMenu>
    </Breadcrumbs>
  );
}

Dependencies

More by properui

View all
  • Command Menu

    Command Menu

    13
  • Loading Indicator

    Loading Indicator

    7
  • Toggle

    Toggle

  • Tags

    Tags

  • Progress Indicators

    Progress Indicators

  • Radio Buttons

    Radio Buttons

  • Button

    Button

  • Badge

    Badge

More in Navigation

View all
  • Sidebar

    Sidebar

    235
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    43
  • Tabs

    Tabs

    60
  • Sidebar

    Sidebar

    340
  • Numberless Pagination with Text

    Numberless Pagination with Text

    11
  • Oversized 404 Numeral

    Oversized 404 Numeral

    50
  • Footer

    Footer

    446
  • Pagination

    Pagination

    43