Breadcrumbs
Breadcrumbs display the current page or context within the site, allowing them to navigate different levels of the hierarchy.
On this page
v0.1.9BetaNot reviewed for accessibility
Description
Use Breadcrumbs to display page hierarchy.
Known issues
Responsiveness
Breadcrumbs is not optimized for responsive designs.
Arguments
| Name | Default | Description |
|---|---|---|
system_arguments | N/A | Hash |
Examples
Slots
items
| Name | Default | Description |
|---|---|---|
href | N/A | StringThe URL to link to. |
system_arguments | N/A | Hash |
Breadcrumbs::Item
This component is part of Primer::Beta::Breadcrumbs and should not be
used as a standalone component.
Methods
selected
Returns the value of attribute selected.
selected=
Sets the attribute selected
| Name | Default | Description |
|---|---|---|
value | N/A | the value to set the attribute selected to. |
href
Returns the value of attribute href.
href=
Sets the attribute href
| Name | Default | Description |
|---|---|---|
value | N/A | the value to set the attribute href to. |