Avatar
#
OverviewAvatar component is used to display circular user profile picture, first letter of name or icon.
- Web Component
- React
- Angular
<uxf-avatar rounded="true" size="lg" variant="success" color="light">letter</uxf-avatar><uxf-avatar rounded="true" size="lg" ><img src="https://source.unsplash.com/random/200x200" /></uxf-avatar><uxf-avatar rounded="true" size="lg" variant="primary" color="white"><uxf-icon>person</uxf-icon></uxf-avatar>
<UxfAvatar rounded="true" size="lg" variant="success" color="light">letter</UxfAvatar><UxfAvatar rounded="true" size="lg" ><img src="https://source.unsplash.com/random/200x200" /></UxfAvatar><UxfAvatar rounded="true" size="lg" variant="primary" color="white">UxfIcon>person</UxfIcon></UxfAvatar>
<uxf-avatar rounded="true" size="lg" variant="success" color="light">letter</uxf-avatar><uxf-avatar rounded="true" size="lg" ><img src="https://source.unsplash.com/random/200x200" /></uxf-avatar><uxf-avatar rounded="true" size="lg" variant="primary" color="white"><uxf-icon>person</uxf-icon></uxf-avatar>
#
Letter AvatarLetter Avatar can be created by passing a string as children.
- Web Component
- React
- Angular
<uxf-avatar color="dark">letter</uxf-avatar><uxf-avatar variant="danger">avatar</uxf-avatar><uxf-avatar variant="success">example</uxf-avatar>
<UxfAvatar color="dark">letter</UxfAvatar><UxfAvatar variant="danger">avatar</UxfAvatar><UxfAvatar variant="success">example</UxfAvatar>
<uxf-avatar color="dark">letter</uxf-avatar><uxf-avatar variant="danger">avatar</uxf-avatar><uxf-avatar variant="success">example</uxf-avatar>
#
Icon AvatarIcon Avatar can be created by passing an icon as children.
- Web Component
- React
- Angular
<uxf-avatar variant="warning"><uxf-icon>person</uxf-icon></uxf-avatar><uxf-avatar><uxf-icon>done</uxf-icon></uxf-avatar><uxf-avatar variant="danger"><uxf-icon>thumb_up_off_alt</uxf-icon></uxf-avatar>
<UxfAvatar variant="warning"><UxfIcon>person</UxfIcon></UxfAvatar><UxfAvatar><UxfIcon>done</UxfIcon></UxfAvatar><UxfAvatar variant="danger"><UxfIcon>thumb_up_off_alt</UxfIcon></UxfAvatar>
<uxf-avatar variant="warning"><uxf-icon>person</uxf-icon></uxf-avatar><uxf-avatar><uxf-icon>done</uxf-icon></uxf-avatar><uxf-avatar variant="danger"><uxf-icon>thumb_up_off_alt</uxf-icon></uxf-avatar>
#
Image AvatarImage Avatar can be created by passing an image as children.
- Web Component
- React
- Angular
<uxf-avatar size="md"><img src="https://source.unsplash.com/random/200x200" /></uxf-avatar><uxf-avatar size="lg"><img src="https://source.unsplash.com/random/200x200" /></uxf-avatar><uxf-avatar size="xl"><img src="https://source.unsplash.com/random/200x200" /></uxf-avatar>
<UxfAvatar size="md"><img src="https://source.unsplash.com/random/200x200" /></UxfAvatar><UxfAvatar size="lg"><img src="https://source.unsplash.com/random/200x200" /></UxfAvatar><UxfAvatar size="xl"><img src="https://source.unsplash.com/random/200x200" /></UxfAvatar>
<uxf-avatar size="md"><img src="https://source.unsplash.com/random/200x200" /></uxf-avatar><uxf-avatar size="lg"><img src="https://source.unsplash.com/random/200x200" /></uxf-avatar><uxf-avatar size="xl"><img src="https://source.unsplash.com/random/200x200" /></uxf-avatar>
#
VariantAvatars include various options for customizing their backgrounds.
- Web Component
- React
- Angular
<uxf-avatar variant="primary">avatar</uxf-avatar><uxf-avatar variant="secondary">avatar</uxf-avatar><uxf-avatar variant="success">avatar</uxf-avatar><uxf-avatar variant="danger">avatar</uxf-avatar><uxf-avatar variant="warning">avatar</uxf-avatar><uxf-avatar variant="info">avatar</uxf-avatar><uxf-avatar variant="light" color="dark">avatar</uxf-avatar><uxf-avatar variant="dark">avatar</uxf-avatar>
<UxfAvatar variant="primary">avatar</UxfAvatar><UxfAvatar variant="secondary">avatar</UxfAvatar><UxfAvatar variant="success">avatar</UxfAvatar><UxfAvatar variant="danger">avatar</UxfAvatar><UxfAvatar variant="warning">avatar</UxfAvatar><UxfAvatar variant="info">avatar</UxfAvatar><UxfAvatar variant="light" color="dark">avatar</UxfAvatar><UxfAvatar variant="dark">avatar</UxfAvatar>
<uxf-avatar variant="primary">avatar</uxf-avatar><uxf-avatar variant="secondary">avatar</uxf-avatar><uxf-avatar variant="success">avatar</uxf-avatar><uxf-avatar variant="danger">avatar</uxf-avatar><uxf-avatar variant="warning">avatar</uxf-avatar><uxf-avatar variant="info">avatar</uxf-avatar><uxf-avatar variant="light" color="dark">avatar</uxf-avatar><uxf-avatar variant="dark">avatar</uxf-avatar>
#
Font colorAvatars include various options for customizing their font color.
- Web Component
- React
- Angular
<uxf-avatar color="primary">avatar</uxf-avatar><uxf-avatar variant="info" color="secondary">avatar</uxf-avatar><uxf-avatar color="success">avatar</uxf-avatar><uxf-avatar color="danger">avatar</uxf-avatar><uxf-avatar color="warning">avatar</uxf-avatar><uxf-avatar color="info">avatar</uxf-avatar><uxf-avatar color="light">avatar</uxf-avatar><uxf-avatar color="dark">avatar</uxf-avatar><uxf-avatar variant="info" color="muted">avatar</uxf-avatar><uxf-avatar color="white">avatar</uxf-avatar>
<UxfAvatar color="primary">avatar</UxfAvatar><UxfAvatar variant="info" color="secondary">avatar</UxfAvatar><UxfAvatar color="success">avatar</UxfAvatar><UxfAvatar color="danger">avatar</UxfAvatar><UxfAvatar color="warning">avatar</UxfAvatar><UxfAvatar color="info">avatar</UxfAvatar><UxfAvatar color="light">avatar</UxfAvatar><UxfAvatar color="dark">avatar</UxfAvatar><UxfAvatar variant="info" color="muted">avatar</UxfAvatar><UxfAvatar color="white">avatar</UxfAvatar>
<uxf-avatar color="primary">avatar</uxf-avatar><uxf-avatar variant="info" color="secondary">avatar</uxf-avatar><uxf-avatar color="success">avatar</uxf-avatar><uxf-avatar color="danger">avatar</uxf-avatar><uxf-avatar color="warning">avatar</uxf-avatar><uxf-avatar color="info">avatar</uxf-avatar><uxf-avatar color="light">avatar</uxf-avatar><uxf-avatar color="dark">avatar</uxf-avatar><uxf-avatar variant="info" color="muted">avatar</uxf-avatar><uxf-avatar color="white">avatar</uxf-avatar>
#
SizingYou can set size by supplying size property.
- Web Component
- React
- Angular
<uxf-avatar variant="info" size="xs">avatar</uxf-avatar><uxf-avatar variant="info" size="sm">avatar</uxf-avatar><uxf-avatar variant="info" size="md">avatar</uxf-avatar><uxf-avatar variant="info" size="lg">avatar</uxf-avatar><uxf-avatar variant="info" size="xl">avatar</uxf-avatar><uxf-avatar variant="info" size="xxl">avatar</uxf-avatar>
<UxfAvatar variant="info" size="xs">avatar</UxfAvatar><UxfAvatar variant="info" size="sm">avatar</UxfAvatar><UxfAvatar variant="info" size="md">avatar</UxfAvatar><UxfAvatar variant="info" size="lg">avatar</UxfAvatar><UxfAvatar variant="info" size="xl">avatar</UxfAvatar><UxfAvatar variant="info" size="xxl">avatar</UxfAvatar>
<uxf-avatar variant="info" size="xs">avatar</uxf-avatar><uxf-avatar variant="info" size="sm">avatar</uxf-avatar><uxf-avatar variant="info" size="md">avatar</uxf-avatar><uxf-avatar variant="info" size="lg">avatar</uxf-avatar><uxf-avatar variant="info" size="xl">avatar</uxf-avatar><uxf-avatar variant="info" size="xxl">avatar</uxf-avatar>
#
ShapeYou can set shape by supplying rounded property.
- Web Component
- React
- Angular
<uxf-avatar variant="primary" rounded="true">avatar</uxf-avatar><uxf-avatar variant="primary" rounded="false">avatar</uxf-avatar>
<UxfAvatar variant="primary" rounded="true">avatar</UxfAvatar><UxfAvatar variant="primary" rounded="false">avatar</UxfAvatar>
<uxf-avatar variant="primary" rounded="true">avatar</uxf-avatar><uxf-avatar variant="primary" rounded="false">avatar</uxf-avatar>