Skip to main content

Breadcrumb

A breadcrumb navigation provides links back to each previous page the user navigated through, and shows the user's current location in a website.

import React from 'react';
import { Breadcrumb } from 'chic-ui';

<Breadcrumb separator="/">
<div>
<a href="https://www.google.com">Google</a>
</div>
<div>
<a href="https://facebook.com">Facebook</a>
</div>
<div>
<a href="https://twitter.com">Twitter</a>
</div>
</Breadcrumb>;

API

import { Breadcrumb } from 'chic-ui';
NameTypeDefaultDescription
separatorReactNode | stringAdds a separator between in the links
classNamestringProvide external classnames to the component
styleReact.CSSPropertiesOverride default styling of the component