File

packages/components/eui-avatar/avatar-icon/avatar-icon.component.ts

Description

Component representing an avatar icon. This component serves as a container for icons within an avatar. It applies the appropriate styling and structure needed for avatar icons.

The component simply wraps its content with the 'eui-avatar-icon' class styling. Used for displaying icons as avatar content instead of images or text.

Example :
<eui-avatar>
    <eui-avatar-icon>
        <eui-icon-svg icon="eui-user" />
    </eui-avatar-icon>
</eui-avatar>

Metadata

results matching ""

    No results matching ""