Avatar

Basic

Avatar can be used for displaying image, icon, or character on square or circle shaped elements. Put image, icon, or character into .avatar-display. Look the example below.

Avatar Image
B

Circle version

Extend default avatar element with .avatar-circle to change its shape to be circular.

Avatar Image
A

Sizing

If you want to change avatar size, you can use .avatar-{sm|lg} helper classes

A
B
C
D
E
F
A
B
C
D
E
F

Contextual colors

Change avatar color for functionality, check examples below.

Solid

You can use these by extending .avatar-{color} class to avatar element

Label

You can use these by extending .avatar-label-{color} class to avatar element

Addon

Addon can be replaced to top-start or bottom-end of avatar element. Use .avatar-addon and extend with .avatar-addon-{top|bottom} to set placement. You can put badge or marker into avatar addon.

9+
9+

Group

Wrap a series of avatar elements into .avatar-group to group the elements. Instead of applying avatar sizing classes to every avatar in a group, just add .avatar-group-{lg|sm} to each .avatar-group

© Clivax.
Crafted with by Codebucks