On This Page
Breadcrumbs to highlight where the user is at.
- Fluent
- Declarative
Breadcrumbs.builder()
.breadcrumbs(List.of(
new Breadcrumb("Breadcrumb 1", ""),
new Breadcrumb("Breadcrumb 2", "")
))
.currentItemText("Current item")
.build()
There is no declarative thing for breadcrumbs. Just use a Breadcrumbs record as in imperative.
Available properties
This is the list of available properties for a breadcrumbs component:
| Property | Description | Notes |
|---|---|---|
| id | id for this component | |
| cssClasses | list of css classes | content of the css attribute |
| style | inline style attributes | content of the style attribute |
| currentItemText | the last breadcrumb | text only. no link |
| breadcrumbs | list of breadcrumbs |
This is the list of available properties for a breadcrumb:
| Property | Description | Notes |
|---|---|---|
| text | text for this breadcrumb | |
| link | url |