PF6 Masthead component
A standard top header bar used for branding, navigation, and toolbar actions.
See: https://www.patternfly.org/components/masthead
Construct a Masthead
masthead
|> withBrand (Brand.brand { src = "/logo.svg", alt = "App" } |> Brand.toMarkup)
|> withToolbar toolbarEl
|> toMarkupAdd main content to the masthead (between brand and toolbar)
Add a toolbar element to the right side of the masthead
Make the masthead sticky (fixed to top of viewport)
Opaque Masthead type