fun-user

This component displays a user name along with its avatar. If there is no url the avatar falls back to the mystery person image.

There is also an option to use the Funnel logo as an avatar.

Examples

Specifications

Properties

PropertyAttributeRequiredDescriptionTypeDefault
isErroris-errorfalseShow error state. Will print “Unknown user” instead of userDisplayNameboolean
isLoadingis-loadingfalseShow loading stateboolean
isSuperuseris-superuserfalseShow superuser icon after nameboolean
sizesizefalseAvatar image size in pxnumber25
urlurlfalseUrl to avatar imagestring
useFunnelAvataruse-funnel-avatarfalseShow Funnel logo as an avatarbooleanfalse
userDisplayNameuser-display-namefalseUser display namestring

Dependencies

Depends on

This documentation page generated from the source at fun-user.tsx

Search Gunnel

Powered byAlgolia