packages/components/eui-content-card/eui-content-card-body/eui-content-card-body-top.ts
Container for content at the top of the card body. Used for highlighted information, alerts, or content that needs visual separation from the main body.
<eui-content-card-body-top>
<div class="eui-u-bg-warning-light eui-u-p-s">
<strong>Notice:</strong> This item requires attention
</div>
</eui-content-card-body-top><eui-content-card-body-top>
<dl class="eui-u-flex eui-u-flex-gap-m">
<div><dt>Status:</dt><dd>Active</dd></div>
<div><dt>Progress:</dt><dd>75%</dd></div>
</dl>
</eui-content-card-body-top>| changeDetection | ChangeDetectionStrategy.OnPush |
| selector | eui-content-card-body-top |
| template | |
| styleUrl | ./eui-content-card-body-top.scss |
Properties |
HostBindings |
| class |
Type : string
|
Default value : 'eui-content-card-body-top'
|
|
Binds the class to the component. |
| string |
Type : string
|
Default value : 'eui-content-card-body-top'
|
Decorators :
@HostBinding('class')
|
|
Binds the class to the component. |