From 7bd5a52019866fc864499055b493ff9f575a0375 Mon Sep 17 00:00:00 2001 From: balibabu Date: Tue, 11 Mar 2025 18:55:25 +0800 Subject: [PATCH] Feat: Add Breadcrumb component #3221 (#5929) ### What problem does this PR solve? Feat: Add Breadcrumb component #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- web/src/components/ui/breadcrumb.tsx | 115 +++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 web/src/components/ui/breadcrumb.tsx diff --git a/web/src/components/ui/breadcrumb.tsx b/web/src/components/ui/breadcrumb.tsx new file mode 100644 index 00000000..f1eb7e91 --- /dev/null +++ b/web/src/components/ui/breadcrumb.tsx @@ -0,0 +1,115 @@ +import { Slot } from '@radix-ui/react-slot'; +import { ChevronRight, MoreHorizontal } from 'lucide-react'; +import * as React from 'react'; + +import { cn } from '@/lib/utils'; + +const Breadcrumb = React.forwardRef< + HTMLElement, + React.ComponentPropsWithoutRef<'nav'> & { + separator?: React.ReactNode; + } +>(({ ...props }, ref) =>