lbd-breadcrumb
A Web Component for creating accessible breadcrumbs
Examples
General usage example:
<script type="module" src="lbd-breadcrumb.js"></script>
<lbd-breadcrumb>
<ol>
<li>
<a href="/">Home</a>
</li>
<li>
<a href="/profile">Profile</a>
</li>
<li>
<a href="/profile/settings">Settings</a>
</li>
<li>
<a href="profile/settings/account">Account</a>
</li>
</ol>
</lbd-breadcrumb>
Features
This Web Component allows you to:
Installation
You have a few options (choose one of these):
- Install via npm:
npm install @lunchbreakdev/lbd-breadcrumb - Download the source manually from GitHub into your project.
- Skip this step and use the script directly via a 3rd party CDN (not recommended for production use)