packages/components/layout/eui-header/header-right-content/header-right-content.component.ts
Container component for right-aligned content within eui-header, typically containing user profile, notifications, or action buttons. Automatically positioned to the right side of the header with appropriate spacing and alignment. Detected by parent EuiHeaderComponent via content projection to ensure proper layout structure. Content is projected via ng-content allowing flexible composition of header actions and utilities.
Example :<eui-app>
<eui-app-header>
<eui-header>
<eui-header-logo></eui-header-logo>
<eui-header-app appName="MyWorkplace"></eui-header-app>
<eui-header-right-content>
<button euiButton>Action</button>
</eui-header-right-content>
</eui-header>
</eui-app-header>
</eui-app>| changeDetection | ChangeDetectionStrategy.Default |
| encapsulation | ViewEncapsulation.None |
| selector | eui-header-right-content |
| template | |
Properties |
HostBindings |
| class |
Type : string
|
Default value : 'eui-header-right-content'
|
| cssClass |
Type : string
|
Default value : 'eui-header-right-content'
|
Decorators :
@HostBinding('class')
|