Breadcrumb
Breadcrumbs are a navigation system used to show a user’s location in the app.
certara-breadcrumb
Section titled “certara-breadcrumb”Properties
Section titled “Properties”backgroundColor
| Attribute | background-color |
| Type | string |
| Default | undefined |
| Required | false |
| Description |
variant
| Attribute | variant |
| Type | "default" | "plain" |
| Default | 'default' |
| Required | false |
| Description | Visual variant of the breadcrumb. plain removes the background and bottom border. |
Events
Section titled “Events”There are no events available for this component
Methods
Section titled “Methods”There are no public methods available for this component
| Name | Description |
|---|---|
| The default slot |
certara-breadcrumb-item
Section titled “certara-breadcrumb-item”Properties
Section titled “Properties”active
| Attribute | active |
| Type | boolean |
| Default | false |
| Required | false |
| Description | Indicates whether the item is the active item. There can be only one of these per page |
activeType
| Attribute | active-type |
| Type | "date" | "location" | "page" | "step" | "time" | boolean |
| Default | undefined |
| Required | false |
| Description | The type of the active item, used in aria-current. |
| If not specified, defaults to ‘page’. |
disabled
| Attribute | disabled |
| Type | boolean |
| Default | false |
| Required | false |
| Description | If disabled, the item will render as a <span> element instead of an <a> element |
href
| Attribute | href |
| Type | string |
| Default | undefined |
| Required | false |
| Description | The URL the item points to. If not specified, the item will not be a link. |
Events
Section titled “Events”There are no events available for this component
Methods
Section titled “Methods”There are no public methods available for this component
| Name | Description |
|---|---|
| The default slot |
Breadcrumbs are a navigation system used to show a user’s location in the app.
Design guidelines
Section titled “Design guidelines” In practice
Section titled “In practice”Using breadcrumbs
Section titled “Using breadcrumbs”Use breadcrumbs for nested navigation, with each item acting as a link. They show the hierarchical progress from the highest item level to the lowest, one step at a time. This typically starts with the product landing page and goes to the current page or content.
- Place breadcrumbs at the top left corner of the screen, above the page title.
- In product, avoid using the topmost level of the hierarchy unless the navigation sidebar is collapsed.
Accessibility
Section titled “Accessibility”- Add
on the last breadcrumb item so screen readers can state the current page.aria-current="location" - Make sure your breadcrumb items reflect the page or product section titles exactly for screen readers.