packages/components/eui-page/components/eui-page-top-content/eui-page-top-content.component.ts
Top content area component for eui-page that provides a structured section above the main page content. Typically contains page-level alerts, notifications, or contextual information displayed prominently. Positioned between the page header and main content area with consistent spacing. Must be used as a direct child of eui-page to maintain proper layout structure.
<eui-page>
<eui-page-header label="Settings"></eui-page-header>
<eui-page-top-content>
<eui-alert type="info">Your changes have been saved successfully.</eui-alert>
</eui-page-top-content>
<eui-page-content>Main content</eui-page-content>
</eui-page>| changeDetection | ChangeDetectionStrategy.OnPush |
| encapsulation | ViewEncapsulation.None |
| selector | eui-page-top-content |
| template | |
Inputs |
HostBindings |
Accessors |
| e2eAttr |
Type : string
|
Default value : 'eui-page-top-content'
|
|
Data attribute used for end-to-end testing identification. |
| class |
Type : string
|
| cssClasses |
getcssClasses()
|