TailwindAdmin can be used in personal & commercial projects.

Learn more

NiceAdmin can be used in personal & commercial projects.

Learn more

Ready-to-Use Components Powered by Flowbite, ShadCN & Headless UI

Component Library

Browse and explore components

Avatar

An Avatar is a UI component used to represent a user with an image, icon, or initials.

Default Avatar

Border Avatar

Placeholder Avatar

Placeholder Initials

RR
RR

Dot indicator

Override Image

Avatar With Text

Jese Leos

Colors

Stacked layout

Avatar Sizes

API ( Avatar )
PropDescriptionTypeDefault

img

Specifies the image URL for the avatar.

string

-

alt

Provides alternative text for the avatar image, enhancing accessibility.

string

-

rounded

Applies rounded corners to the avatar.

boolean

false

bordered

Adds a border around the avatar.

boolean

false

color

Sets the background color of the avatar when no image is provided.

'gray' | 'light' | 'purple' | 'success' | 'pink'

gray

placeholderInitials

To show the user initials.

string

-

status

Displays a status indicator on the avatar.

'online' | 'offline' | 'away' | 'busy'

-

stacked

Stacks multiple avatars by overlapping them.

boolean

false

size

Sets the size of the avatar.

'xs' | 'sm' | 'md' | 'lg' | 'xl'

md