darshan-rajadhyaksha

Breadcrumbs

Navigation

About

A navigation component that shows the current page's location as a trail of links separated by a customizable separator, with slot-level styling for the list, items and separator.

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 BreadcrumbsCustomSeparatorDemo() {
  return (
    <Breadcrumbs aria-label="Breadcrumb" seperator="›">
      <a className="text-inherit hover:underline" href="/">
        Home
      </a>
      <a className="text-inherit hover:underline" href="/products">
        Products
      </a>
      <span className="text-neutral-900 dark:text-neutral-50">Details</span>
    </Breadcrumbs>
  );
}

Dependencies

More by darshan-rajadhyaksha

View all
  • Switch

    Switch

    3
  • Backdrop

    Backdrop

    2
  • Accessible Dialog

    Accessible Dialog

    1
  • Input

    Input

    1
  • Avatar

    Avatar

  • Chip

    Chip

  • Progress Bar

    Progress Bar

  • Card Content

    Card Content

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