lenards/elm-ui-patternfly/4.0.0

NOTE: the latest version is 4.0.2

PF6.Panel

PF6 Panel component

A simple bordered container for grouping content.

See: https://www.patternfly.org/components/panel

Definition

type Panel msg

Opaque Panel type

Constructor

panel : Element msg -> Panel msg

Construct a Panel with body content

panel (Element.text "Panel content")

Modifiers

withHeader : Element msg -> Panel msg -> Panel msg

Add a header above the panel body

withFooter : Element msg -> Panel msg -> Panel msg

Add a footer below the panel body

withRaised : Panel msg -> Panel msg

Add a raised box shadow to the panel

withBordered : Panel msg -> Panel msg

Add a visible border to the panel

Make the panel body scrollable

Rendering

toMarkup : Theme -> Panel msg -> Element msg

Render the Panel as an Element msg