Documentation
Components
BreadCrumbs

BreadCrumbs

The Breadcrumbs component provides a navigational aid in web applications, allowing users to keep track of their locations within the app hierarchy. It displays a series of links representing the current page and its ancestors, making it easy for users to navigate back to previous sections.

Installation

Install the package

npm i @start-base/start-ui

Add the styles

To use the React form elements styles in a Next.js project, import the styles in your layout.tsx file.

app/layout.tsx
import "@start-base/start-ui/styles.css";

Import the component

import BreadCrumbs from '@start-base/start-ui/BreadCrumbs';

Usages

Default BreadCrumbs

BreadCrumbs With Custom Separator

BreadCrumbs With Icon

API

NameTypeDefaultDescription
separatorstring/Separator of the breadcrumbs
datastring[]Replace array of the breadcrumbs
classNamestring``Classname of the breadcrumbs
activeClassNamestring``Classname of the active breadcrumb
listClassNamestring``Classname of the breadcrumb list