Hero Ui

Breadcrumbs

Navigation

About

Display the current page location within a navigational hierarchy.

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/heroui-breadcrumbs";

export default function BreadcrumbsCustomRenderFunctionDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center overflow-hidden bg-background p-8">
      <Breadcrumbs
        classNames={{ list: "gap-0" }}
        data-custom="foo"
        itemClasses={{
          base: "data-[custom=bar]:text-zinc-500",
          item: "rounded-md px-1 data-[custom=bar]:text-zinc-500",
        }}
      >
        <Breadcrumbs.Item data-custom="bar" href="#">
          Home
        </Breadcrumbs.Item>
        <Breadcrumbs.Item data-custom="bar" href="#">
          Products
        </Breadcrumbs.Item>
        <Breadcrumbs.Item data-custom="bar" href="#">
          Electronics
        </Breadcrumbs.Item>
        <Breadcrumbs.Item data-custom="bar" href="#">
          Laptop
        </Breadcrumbs.Item>
      </Breadcrumbs>
    </div>
  );
}

export { BreadcrumbsCustomRenderFunctionDemo };

More by Hero Ui

View all
  • DatePicker

    DatePicker

    468
  • Chip

    Chip

    445
  •  The Pagination

    The Pagination

    364
  • HeroUI Table

    HeroUI Table

    116
  • HeroUI Color Picker

    HeroUI Color Picker

    109
  • Skeleton

    Skeleton

    105
  • HeroUI Disclosure Group

    HeroUI Disclosure Group

    95
  • HeroUI AlertDialog

    HeroUI AlertDialog

    81

More in Navigation

View all
  • Sidebar

    Sidebar

    322
  • Progress Bar Stepper

    Progress Bar Stepper

    52
  • Nav List Card

    Nav List Card

    36
  • Stacked Circular Footer

    Stacked Circular Footer

    437
  • Navbar

    Navbar

    4
  • Breadcramb

    Breadcramb

    92
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    51
  • Tabs

    Tabs

    67