packages/components/eui-tabs/eui-tab-header/eui-tab-header-sub-label.ts
Sub-label component for displaying secondary descriptive text within custom tab headers. Provides consistent styling for supplementary information below or alongside the main tab label. Typically contains additional context, counts, or status information related to the tab. Must be used within eui-tab-header to provide structured sub-label content.
<eui-tab>
<eui-tab-header>
<eui-tab-header-label>Messages</eui-tab-header-label>
<eui-tab-header-sub-label>12 unread</eui-tab-header-sub-label>
</eui-tab-header>
<eui-tab-body>Content</eui-tab-body>
</eui-tab><eui-tab-header>
<eui-tab-header-label>Tasks</eui-tab-header-label>
<eui-tab-header-sub-label>
{{ completedTasks }} of {{ totalTasks }} completed
</eui-tab-header-sub-label>
</eui-tab-header>| selector | eui-tab-header-sub-label |
| template | |
Properties |
HostBindings |
| class |
Type : string
|
Default value : 'eui-tab-header-sub-label'
|
| string |
Type : string
|
Default value : 'eui-tab-header-sub-label'
|
Decorators :
@HostBinding('class')
|