packages/components/eui-tabs/eui-tab-header/eui-tab-header-label.ts
Primary label component for displaying the main text content within custom tab headers. Provides consistent styling for the principal tab title or heading. Serves as the primary identifier for the tab content when using custom header layouts. Must be used within eui-tab-header to provide structured label content.
<eui-tab>
<eui-tab-header>
<eui-tab-header-label>Dashboard</eui-tab-header-label>
</eui-tab-header>
<eui-tab-body>Content</eui-tab-body>
</eui-tab><eui-tab-header>
<eui-tab-header-left-content>
<eui-icon-svg icon="eui-chart" />
</eui-tab-header-left-content>
<eui-tab-header-label>Analytics</eui-tab-header-label>
<eui-tab-header-sub-label>Last 30 days</eui-tab-header-sub-label>
</eui-tab-header>| selector | eui-tab-header-label |
| template | |
Properties |
HostBindings |
| class |
Type : string
|
Default value : 'eui-tab-header-label'
|
| string |
Type : string
|
Default value : 'eui-tab-header-label'
|
Decorators :
@HostBinding('class')
|