Renders a breadcrumb navigation bar.
import { BrowserRouter } from "react-router-dom"; import { Breadcrumb } from "@/ui/navigation/bread-crumb/components/Breadcrumb"; export const MyComponent = () => { const breadcrumbLinks = [ { children: "Home", href: "/" }, { children: "Category", href: "/category" }, { children: "Subcategory", href: "/category/subcategory" }, { children: "Current Page" }, ]; return ( <BrowserRouter> <Breadcrumb className links={breadcrumbLinks} /> </BrowserRouter> ) };
As an open-source company, we welcome contributions through Github. Help us keep it up-to-date, accurate, and easy to understand by getting involved and sharing your ideas!