1. framework components
  2. avatar

Avatar

An image with a fallback for representing the user.

SK
SK
SK

Fallback

Use a fallback when an image fails to load or is unavailable.

SK

Filter

Apply SVG Filters to avatar images.

SK

Anatomy

Here’s an overview of how the Avatar component is structured in code:

tsx
import { Avatar } from '@skeletonlabs/skeleton-react';

export default function Anatomy() {
	return (
		<Avatar>
			<Avatar.Image />
			<Avatar.Fallback />
		</Avatar>
	);
}

API Reference

Unable to load component information for react/avatar

View page on GitHub