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:

PropertyDescriptionNotes
idid for this component
cssClasseslist of css classescontent of the css attribute
styleinline style attributescontent of the style attribute
currentItemTextthe last breadcrumbtext only. no link
breadcrumbslist of breadcrumbs

This is the list of available properties for a breadcrumb:

PropertyDescriptionNotes
texttext for this breadcrumb
linkurl