Skip to content

Breadcrumbs - Frameworks

Breadcrumbs show users their current location relative to the information architecture and enable them to quickly move up to a parent level or previous step.

ElementsreleasedReactreleasedVuereleased

React

Import

You can import the component like so:

js
import { Breadcrumbs } from '@warp-ds/react';

or import it individually to optimize your JS bundle size by adding only the components you need:

js
import { Breadcrumbs } from '@warp-ds/react/components/breadcrumbs';

Syntax

js
<Breadcrumbs>
  <a href="/url/1">Page 1</a>
  <a href="/url/2">Page 2</a>
  <span aria-current="page">Current Page</span>
</Breadcrumbs>

Props

Optional Props

NameTypeDefaultDescription
aria-labelstringHer er duDefines a string value that labels the affix element.
classNamestringAdditional classes to include
styleCSSPropertiesCSS styles to inline on the component

Questions?

Feel free to ask any questions on usage in the Warp DS Slack channel: #warp-design-system