User profile images with fallbacks
Interactive preview of the Avatar component with different variants.
Install the package via npm:
npm install apex-design-systemimport { Avatar, AvatarImage, AvatarFallback } from 'apex-design-system';<Avatar>
<AvatarImage src="/avatar.jpg" alt="User" />
<AvatarFallback>JD</AvatarFallback>
</Avatar>This component follows WAI-ARIA best practices and is WCAG 2.1 AA compliant. It includes proper keyboard navigation, focus management, and screen reader support.