# EuiAvatarTextComponent

**Type:** component

<p>Component for displaying text content within an avatar.
This component serves as a container for text that appears inside an avatar,
such as initials or short text identifiers.</p>
<p>The component applies the &#39;eui-avatar-text&#39; class to provide appropriate styling
for text displayed within an avatar context. It uses content projection to allow
any text content to be displayed inside.</p>
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">&lt;eui-avatar euiSizeS&gt;
    &lt;eui-avatar-text&gt;eUI&lt;/eui-avatar-text&gt;
    &lt;eui-avatar-badge&gt;
        &lt;eui-badge euiDanger euiSizeS&gt;7&lt;/eui-badge&gt;
    &lt;/eui-avatar-badge&gt;
&lt;/eui-avatar&gt;</code></pre></div>

**Selector:** `eui-avatar-text`

**Standalone:** false
