Base Components

Tailwind CSS Avatar

A custom avatar component to display user avatar images in various styles, offering a range of customizable options.

Default Avatar

Below is a basic example of an avatar using a standard img element.

Background

The avatar image can also be used as a background image.

Square

Description goes here

Fallback Text

Replace the image with text to be displayed as the avatar.
A
B
C
D
E

Dot Badge

Integrate a dot element to provide visual indication for notification purposes within the avatar component.
A
B

Stacked

Group avatars into a stacked element to achieve a compact and organized display, ensuring a visually appealing arrangement of avatars.
A
+3

Sizes

Apply custom sizes to avatars using Tailwind CSS Size classes for precise control over the avatar dimensions.
size-10
size-14
size-16
size-20
size-24