# EclModalHeaderComponent

**Type:** component



Header component used within the ECL Modal.

Displays an icon depending on the modal variant, user-defined content,
and a close button that emits a close event.


**Selector:** `[eclModalHeader]`

## Inputs
- **variant**: `"information" | "success" | "warning" | "error" | string` - Defines the visual variant of the modal.  Determines which icon is shown in the header.  Possible values: - `'information'` - `'success'` - `'warning'` - `'error'` - any other custom string (no icon will be shown)
- **class**: `string` - 
- **e2eAttr**: `any` - 
- **tabindex**: `number` - 

## Outputs
- **modalClose**: `EventEmitter` - Event emitted when the close button is clicked.  Emits an `EclModalCloseEvent` object.
