miso-ui
Safe HaskellNone
LanguageHaskell2010

Miso.UI.Avatar

Synopsis

Props

data AvatarProps action Source #

Props for avatar_

Constructors

AvatarProps 

Fields

defaultAvatarProps :: AvatarProps action Source #

Smart constructor: small round avatar

Views

avatar_ :: AvatarProps action -> View model action Source #

Avatar, driven by AvatarProps

avatarFallback_ :: [Attribute action] -> [View model action] -> View model action Source #

Initials fallback when no image is available

avatarGroup_ :: Size -> [Attribute action] -> [View model action] -> View model action Source #

Overlapping stack of avatars. Children should be plain img_ views (the group styles them via [&_img] selectors).

Samples

avatarSample :: View model action Source #

avatarCodeSample :: View model action Source #

avatarPropsApi :: View model action Source #