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>
);
}















