Overview
Stylistic pull quote styles for all types of layout. Part of the Bolt “Components” CSS framework that powers the Bolt Design System.
Install via NPM
npm install @bolt/components-breadcrumb
Usage
{% include "@bolt-components-breadcrumb/breadcrumb.twig" with {
contentItems: [
include("@bolt-components-link/link.twig", {
text: "Home",
url: "#!"
}),
include("@bolt-components-link/link.twig", {
text: "Landing Page",
url: "#!"
}),
include("@bolt-components-link/link.twig", {
text: "Sub Page",
url: "#!"
}),
"Current Page"
]
} only %}
Schema
Note: when assigning component props as HTML attributes on a web component, make sure to use kebab-case
.
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
|
A Drupal-style attributes object with extra attributes to append to this component. |
object
| — |
|
|
Breadcrumb pieces. |
array
| — | |