@bdt-component-library/breadcrumbs

Breadcrumbs component

Usage no npm install needed!

<script type="module">
  import bdtComponentLibraryBreadcrumbs from 'https://cdn.skypack.dev/@bdt-component-library/breadcrumbs';
</script>

README

Breadcrumbs Component

About

This is a component published as its own package from our component library monorepo: https://github.com/BenefitsDataTrust/ui-components. Setup instructions, as well as higher-level goals and concerns can be found from the main project README.

Description

Handles display of breadcrumbs according to style guide conventions.

API

prop type required default explanation
children React node yes n/a The components to render as breadcrumbs
className string no n/a Adds an optional classname to the component
separator any no ">" Changes the separator used between Breadcrumbs (passed to Breadcrumb component)