Components

Avatar

Avatars bring life to the interface, offering a small but vivid representation of individuals or businesses.

Shape

Circular avatars

The `avatar` component class serves as a wrapper for the image, while the <a href="https://tailwindcss.com/docs/width#setting-both-width-and-height" target="_blank" class="link link-primary">Size</a> and <a href="https://tailwindcss.com/docs/border-radius" target="_blank" class="link link-primary">Border Radius</a> utility classes can be utilized to adjust its dimensions and radius.

avatar
avatar
avatar
avatar

Rounded avatars

Apply the `rounded-md` utility class to achieve rounded avatars.

avatar
avatar
avatar
avatar

Masked avatars

The `mask` class modifier can be applied to define the shape of the avatar.

avatar
avatar
avatar

Placeholder

Placeholder icon

Use `avatar-placeholder` component class with `avatar` for placeholder styles. </br> Design circular avatar elements featuring placeholder icons.

Placeholder initials

Design circular avatar elements featuring placeholder initials.

cl
cl
cl
cl

Color variants

Solid color

Pre-configured solid color avatar designs.

cl
cl
cl
cl
cl
cl

Soft color

Pre-configured soft color avatar designs.

cl
cl
cl
cl
cl
cl

Outline color

Pre-configured outline color avatar designs.

cl
cl
cl
cl
cl
cl

Status

Top status indicators

Avatars featuring various status indicators at top.

avatar
avatar
avatar
avatar

Bottom status indicators

Avatars featuring various status indicators at bottom.

avatar
avatar
avatar
avatar

Avatar with logo indicator

Avatars featuring various status indicators at bottom.

avatar
avatar

Avatar group

Basic circular avatar group

The `avatar-group` class acts as a container for avatars, allowing you to manage the spacing between them with the `-space-x-4` class.

avatar
avatar
avatar
avatar
avatar
avatar
avatar
+9

Pull up animation with tooltip

Utilize the `pull-up` class to enable hover functionality for the avatar.

avatar
Jhon Doe
avatar
Elliot Chen
avatar
Maya Singh
avatar
Jasmine Rivera
avatar
Maya Singh
avatar
Jasmine Rivera
avatar
Elliot Chen
+9
9 more
Class referenceThe component, style, color, state, size and modifier classes available for this component.
ClassTypeDescription
avatarcomponentContainer element
avatar-groupcomponentContainer for grouping multiple avatars
avatar-placeholderpartTo show some letters as avatar placeholder
pull-upstyleAdd pull up animation when used with avatar group
avatar-online-topmodifierShows a green dot at top as online indicator
avatar-online-bottommodifierShows a green dot at bottom as online indicator
avatar-away-topmodifierShows a warning dot at top as away indicator
avatar-away-bottommodifierShows a warning dot at bottom as away indicator
avatar-busy-topmodifierShows an error dot at top as busy indicator
avatar-busy-bottommodifierShows an error dot at bottom as busy indicator
avatar-offline-topmodifierShows a neutral dot at top as offline indicator
avatar-offline-bottommodifierShows a neutral dot at bottom as offline indicator