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
  • Backdrop

    Backdrop

    1
  • Card Content

    Card Content

  • Checkbox

    Checkbox

  • Textarea

    Textarea

  • Card Title

    Card Title

  • Table

    Table

  • Accordion

    Accordion

  • Tabs Context

    Tabs Context

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