lenards/elm-ui-patternfly/4.0.0

NOTE: the latest version is 4.0.2

PF6.List

PF6 List component

Lists display items in a simple list format with optional styling.

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

Definition

type PFList msg

Opaque PFList type

Named PFList to avoid conflict with Elm's built-in List type.

List display variant

Constructor

pFList : List (Element msg) -> PFList msg

Construct a List from items

pFList [ Element.text "First", Element.text "Second" ]

Variant modifiers

withPlain : PFList msg -> PFList msg

Plain list — no bullets, no indentation

Ordered (numbered) list

Inline list — items displayed in a row

withIconed : PFList msg -> PFList msg

Icon list — items prefixed with icons

Size modifiers

withLarge : PFList msg -> PFList msg

Large font size

Rendering

toMarkup : Theme -> PFList msg -> Element msg

Render the PFList as an Element msg