lenards/elm-ui-patternfly/4.0.2

PF6.DescriptionList

PF6 DescriptionList component

Description lists display term/value pairs, often used for metadata or details panels.

See: https://www.patternfly.org/components/description-list

Definition

Opaque DescriptionList type

A term/value group

Constructor

Construct a DescriptionList from groups

Group constructor

group : String -> List (Element msg) -> DescriptionGroup msg

Create a term/description group

group "Name" [ Element.text "Alice" ]

Layout modifiers

Horizontal layout — term and descriptions side by side

Compact — reduced spacing

Auto column sizing

Fixed column count (1–3)

Width modifiers

Fixed term width in pixels (useful for horizontal layout)

Rendering

toMarkup : Theme -> DescriptionList msg -> Element msg

Render the DescriptionList as an Element msg