Avatar
@arolariu/components / Avatar
Avatar
Displays a user avatar container with shared sizing and shape styles.
Remarks
- Renders a
<span>element by default - Built on Base UI Avatar
- Supports the
renderprop for element composition - Styling via CSS Modules with
--ac-*custom properties
Example
<Avatar>
<AvatarImage src="/profile.png" alt="Profile" />
<AvatarFallback>AO</AvatarFallback>
</Avatar>
See
Type Aliases
// was this page useful?