Breadcrumb

Shows the current page location within a hierarchy.

Preview

Props

PropTypeDefaultDescription
itemsarray[]{ label, href } objects

Usage

const { Breadcrumb } = window.ColorSnap;
ReactDOM.createRoot(document.getElementById('root')).render(
  React.createElement(Breadcrumb, { items: [{ label: 'Home', href: '/' }, { label: 'Button' }] })
);