Breadcrumb
Breadcrumbs allow users to orient themselves in the hierarchy of the app. It also provides a way to navigate to the parent page.
Version 0.3.10
Installation
To install @igloo-ui/breadcrumb
in your project, you will need to run the following command using npm:
npm install @igloo-ui/breadcrumb
If you prefer Yarn, use the following command instead:
yarn add @igloo-ui/breadcrumb
Usage
Then to use the component in your code just import it!
import Breadcrumb from '@igloo-ui/breadcrumb';
<Breadcrumb
items={[
{
label: 'Home',
link: '#',
},
{
label: 'Career',
link: '#',
},
{
label: 'Developer',
},
]}
/>;
API
Prop | Type | Default | Description |
---|---|---|---|
className | string | - | Add a specific class to the tabs component |
dataTest | string | - | Add a data-test tag for automated tests |
items | Item[] | - | Add a list of items to the breadcrumb |