Svelte 5 Avatar – User Identity Display

Circular avatar component for displaying user photos or initials. Clean industrial styling.

Svelte UI libraryweb design system

Preview

Component preview

Use Case

A simple but polished avatar component for displaying user identity. Falls back to initials when no image is provided.

Props API

Avatar component props
PropTypeDefaultDescription
src stringImage source URL
alt stringAlt text for accessibility
initials stringFallback initials when no image
class stringAdditional CSS classes

Related Components

See it in Action

Explore the Avatar in an interactive dashboard environment.

Customize in Showroom