Skip to content
Frauthy Brand
Frauthy index

Go anywhere.

    No exact contract found. Try a component family, product name, prop, or keyboard key.

    ↑↓ move↵ openesc close

    Avatar

    presentational

    Image or initials avatar with size and shape presets. Use accessible labels for people and decorative mode for repeated visual-only avatars.

    Preview

    Sizes
    Shapes and image
    Maya Patel
    Access review
    Three assigned reviewers

    Usage

    import { Avatar } from 'PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED';
    
    <Avatar src="/team/maya.jpg" alt="Maya Patel" size="lg" />
    
    <Avatar initials="AK" label="Ari Kim" shape="rounded" />
    
    <Avatar initials="AK" decorative />

    Props

    PropTypeDefaultDescription
    srcstring--Image source. Renders an <img> when set.
    altstring--Image alt text. Used as a fallback accessible label.
    initialsstringderivedFallback initials when no image source is present.
    labelstringderivedAccessible label for initials fallback.
    decorativebooleanfalseHides the avatar from assistive technology.
    size'sm' | 'md' | 'lg''md'Size preset.
    shape'circle' | 'rounded''circle'Border radius preset.
    loadingHTMLImageElement['loading']--Native image loading hint.
    decodingHTMLImageElement['decoding']--Native image decoding hint.
    classstring--Additional CSS classes.
    aria-labelstring--Accessible label override for initials fallback.

    Accessibility

    Do / Don't

    Do

    Pair avatars with visible names in dense lists and mark the avatar decorative when the name is already present.

    Don't

    Don't rely on initials alone to identify a person when several people can share the same initials.