lenards/elm-ui-patternfly/3.0.0

NOTE: the latest version is 4.0.2

PF6.Avatar

PF6 Avatar component

Displays a user's profile image with optional border, in various sizes.

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

Definition

type Avatar

Opaque Avatar type

type Size

Avatar size variants

Constructor

{ src : String
, alt : String
}
-> Avatar

Construct an Avatar from an image src and alt text

Size modifiers

Small avatar — 24px

Medium avatar — 36px (default)

Large avatar — 72px

XLarge avatar — 128px

Style modifiers

Add a border around the avatar

Rendering

toMarkup : Avatar -> Element msg

Render the Avatar as an Element msg