Skip to content

Breadcrumb

The following breadcrumb component is used to show the current location in a hierarchy. It is a single component and you can style both the items within the breadcrumb as well as the entire component. It takes in an array of breadcrumbItems and you may pass in icons as well to have a nicer look.

Install the following libraries. Assuming you have Tailwind CSS installed

Terminal window
npm install react-router-dom lucide-react

Preview