Skip to main content

Breadcrumb

To display hierarchy with respect to current location and help with navigation.

Quick start

Here's a quick start guide to get started with the Breadcrumb component

Importing Component

import { Breadcrumb } from "@hover-design/react";

Code Snippets and Examples

const App = () => {
const list = [
{ title: "Hover" },
{ title: "Components", href: "#" },
{ title: "Docs", href: "#" }
];
return (
<div className="App">
<Breadcrumb crumbs={list} separator={"/"} />
</div>
);
};

Example

PropertyDescriptionTypeDefault Version
crumbsList of BreadcrumbsArray[crumb]-
separatorSeparator between linksstring or ReactNode/

crumbs

PropertyDescriptionTypeDefault Version
crumbObject with title(must) & href propertiesObject