
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@gold.au/breadcrumbs
Advanced tools
Breadcrumbs help users understand where they are in the service and how they got there.
Breadcrumbs help users understand where they are in the service and how they got there.
yarn add @gold.au/breadcrumbs
npm install @gold.au/breadcrumbs
Usage:
import AUbreadcrumbs from './breadcrumbs.js';
<AUbreadcrumbs label="Breadcrumb for this page" items={[
{
link: 'breadcrumb/one/',
text: 'breadcrumb 1',
},
{
link: 'breadcrumb/two/',
text: 'breadcrumb 2',
li: {
className: 'li-wrapping-class',
},
},
{
text: 'breadcrumb 3',
},
]} />
All props:
<AUbreadcrumbs
label="The aria-label" {/* Provide the aria label is a must */}
dark={ false } {/* A dark variation of the component */}
linkComponent="a" {/* The component used for the link, optional */}
items={[ {/* An array of all breadcrumbs */}
{
link: 'breadcrumb/one/', {/* The link of the breadcrumb, optional */}
text: 'breadcrumb 1', {/* The text of the breadcrumb */}
li: {}, {/* An object that will be spread onto the <li> tag, optional */}
},
]},
/>
(đź’ˇ additional props are spread onto the component)
For more details have a look at the usage example.
/breadcrumbs
├─ /core
└─ /link-list
├─ /core
└─ /body
└─ /core
The visual test: https://auds.service.gov.au/packages/breadcrumbs/tests/site/
Fragment React importCopyright (c) Commonwealth of Australia. Licensed under MIT.
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.