# EuiTreeListItemLabelTagDirective

**Type:** directive

<p>Directive for projecting custom label content into eui-tree-list-item.
Replaces the default label rendering with custom HTML or components.</p>
<b>Example :</b><div><pre class="line-numbers"><code class="language-html">&lt;eui-tree-list-item&gt;
  &lt;eui-tree-list-item-label&gt;
    &lt;eui-icon-svg icon=&quot;eui-star&quot; /&gt;
    &lt;strong&gt;Custom Label&lt;/strong&gt;
  &lt;/eui-tree-list-item-label&gt;
&lt;/eui-tree-list-item&gt;</code></pre></div><h3>Accessibility</h3>
<ul>
<li>Ensure custom content is semantically meaningful</li>
<li>Include text alternatives for icons</li>
</ul>
<h3>Notes</h3>
<ul>
<li>Overrides label and subLabel inputs when used</li>
<li>Supports any HTML content</li>
</ul>


**Selector:** `eui-tree-list-item-label`

**Standalone:** false
