rundis/elm-bootstrap/5.2.0

Bootstrap.Breadcrumb

Indicate the current page's location within a navigational hierarchy that automatically adds separators via CSS.

Breadcrumb.container
    [ Breadcrumb.item [] [ a [ href "#home" ] [ text "home" ] ]
    , Breadcrumb.item [] [ text "page" ]
    ]

Breadcrumb

type Item msg

Opaque type representing an item in the breadcrumb trail.

item : List (Attribute msg) -> List (Html msg) -> Item msg

Create a breadcrumb item.

  • attributes List of attributes
  • children List of child elements
container : List (Item msg) -> Html msg

Create a breadcrumb container.

  • items List of breadcrumb items