lenards/elm-ui-patternfly/4.0.2

PF6.Progress

PF6 Progress component

Progress bars communicate the status of an ongoing process.

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

Definition

Opaque Progress type

type Size

Bar size

type Status

Status variant affects bar color

Constructor

progress : Float -> Progress

Construct a Progress bar with a value 0–100

Label modifiers

withTitle : String -> Progress -> Progress

Set a title above the bar

Set helper text below the bar

Size modifiers

Small bar height

Large bar height

Status modifiers

Success status (green bar)

Danger status (red bar)

Warning status (yellow bar)

Info status (purple bar)

Measure label position

Show percentage inside the bar

Show percentage outside (above-right) the bar

Hide the percentage label

Rendering

toMarkup : Theme -> Progress -> Element msg

Render the Progress as an Element msg