@dxos/react-ui
    Preparing search index...
    RootProps: ThemedClassName<Omit<AvatarPrimitive.RootProps, "children">> & {
        animation?: Animation;
        backdrop?: "dominant";
        children?: AvatarPrimitive.RootProps["children"];
        fallback?: string;
        fill?: boolean;
        hue?: Hue;
        hueVariant?: HueVariant;
        icon?: string;
        label?: string;
        size?: Size;
        src?: string;
        status?: Status;
        variant?: Variant;
    }

    Type declaration

    • Optionalanimation?: Animation
    • Optionalbackdrop?: "dominant"

      Fills behind the image with its dominant edge colour once it loads (a photo with transparent or uneven edges).

    • Optionalchildren?: AvatarPrimitive.RootProps["children"]

      Replace the default Image and Fallback.

    • Optionalfallback?: string

      A name (shown as initials) or an emoji.

    • Optionalfill?: boolean

      Fills its host's inline size (a square), for portraits larger than a block.

    • Optionalhue?: Hue
    • OptionalhueVariant?: HueVariant
    • Optionalicon?: string

      Shown in place of the fallback text.

    • Optionallabel?: string

      Names the avatar (aria-label); otherwise reference a visible name with aria-labelledby.

    • Optionalsize?: Size

      Diameter is the block at this size; inherited from the enclosing scope when omitted.

    • Optionalsrc?: string

      Image source; the fallback shows until it loads, and again if it fails.

    • Optionalstatus?: Status

      Draws a ring in the status colour.

    • Optionalvariant?: Variant