furl
Getting startedDesignComponents
Design
Design GuidelinesTypography SystemLayout SystemColor palettesCustomization
Components
ComponentsAccordionAlertAnchorAudioAvatarBadgeBreadcrumbsButtonButtonGroupCalendarCardCollapseContextButtonDividerDropdownFooterFormGraphGridHyperlinkIconIframeImageInputItemLayoutListLoaderMediaObjectMenuModalNotificationPaginationPopoverProgressSearchStepsSwitchTableTabsTooltipTypographyVideo

Breadcrumbs

Breadcrumbs create hierarchical representation and navigation.

Examples

My files/My documents
My files>My documents
import React from 'react';
import ReactDOM from 'react-dom';
import { Breadcrumbs, Breadcrumb, Hyperlink } from 'furl-components';

ReactDOM.render(
  <div>
    <Breadcrumbs separator='>'>
      <Breadcrumb>
        <Hyperlink href='/my-files'>My files</Hyperlink>
      </Breadcrumb>
      <Breadcrumb>My documents</Breadcrumb>
    </Breadcrumbs>
    <Breadcrumbs data={[
      { href: '#', title: 'My files' },
      'My documents'
    ]} />
  </div>, 
  document.getElementById('root')
);

API

Breadcrumbs props
Property Description Type Default
separator breadcrumbs separator style string '/'
data breadcrumbs data source array(string/object)

Notes

  • You can populate breadcrumbs either via passing children to it or via the use of the data prop. If data is provided, it will take precedence over passed children, therefore rendering only the content provided in data.
  • Breadcrumbs only accepts children of the Breadcrumb component type.
  • data only accepts an array of values, each of which can either be a string or an object. Objects in the data array must contain a title, optionally a href value and any other props that you want to pass.

furl was designed and developed by Angelos Chalaris © 2019
Documentation generated using Gatsby, hosting by Netlify