DDBS UI
commerce

Store Breadcrumbs

An accessible breadcrumb trail that renders links through the theme's link component.

npx shadcn@latest add https://ui.develop-better-solutions.com/r/store-breadcrumbs.json
Dependencies:lucide-react
Fullscreen

Usage

store-breadcrumbs-example.tsx
import { Breadcrumbs } from "@dbs/ui";
import { StoreScope } from "./_store";

export default function StoreBreadcrumbsExample() {
  return (
    <div className="w-full max-w-xl">
      <StoreScope minHeight={0}>
        <Breadcrumbs
          items={[
            { label: "Home", href: "#" },
            { label: "Shop", href: "#" },
            { label: "Bags", href: "#" },
            { label: "Atlas Canvas Tote" },
          ]}
        />
      </StoreScope>
    </div>
  );
}