@s-ui/react-molecule-breadcrumb
Version:
SUI Breadcrumb Basic
41 lines (28 loc) • 1.81 kB
Markdown
### MoleculeBreadcrumb
> Breadcrumbs, or a breadcrumb navigation, can help to enhance how users navigate to previous page levels of a website, especially if that website has many pages or products.
[](https://sui-components.vercel.app/workbench/molecule/breadcrumb/)
[](https://github.com/SUI-Components/sui-components/issues/new?&projects=4&template=bug-report.yml&assignees=&template=report-a-bug.yml&title=🪲+&labels=bug,component,molecule,breadcrumb)
[](https://www.npmjs.com/package/@s-ui/react-molecule-breadcrumb)
[](https://github.com/SUI-Components/sui-components/issues?q=is%3Aopen+label%3Acomponent+label%3Abreadcrumb)
[](https://github.com/SUI-Components/sui-components/blob/main/components/molecule/breadcrumb/LICENSE.md)
## Installation
```sh
npm install @s-ui/react-molecule-breadcrumb --save
```
## Usage
```js
import MoleculeBreadcrumb from '@s-ui/react-molecule-breadcrumb'
const breadcrumbItems = [
{
label: 'accusantium',
url: 'https://github.com/SUI-Components/sui-components'
},
{
label: 'current section'
}
]
return (
<BreadcrumbBasic items={breadcrumbItems} />
)
```
**Find full description and more examples in the [demo page](https://sui-components.now.sh/workbench/molecule/breadcrumb).**