---
url: "https://vueda.dev/v3/reference/api/vue/AlertClose.md"
title: "AlertClose"
---

# AlertClose

## Overview

A close button for dismissing an alert. Renders a slotted button that emits a `close` event when clicked.

Theme entry: [AlertClose](/v3/reference/theming/keys/AlertClose.md)

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-iconOverride">iconOverride</span> | `Object` |  | `null` | A partial icon registry (`{ [componentName]: { [iconName]: { component, props } } }`) merged with inherited and default icon entries; scopes icon overrides to this component and its descendants. |
| <span id="prop-themeOverride">themeOverride</span> | `Object` |  | `null` | A partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants. |
| <span id="prop-class">class</span> | `import('vue').HTMLAttributes['class']` |  | `undefined` | Additional CSS classes to apply to the root element. |

## Slots

### `default` {#slot-default}

Slot.

## Events

| Name | Description |
| --- | --- |
| `close` | Emitted when the close action is triggered. |

[Full event reference](/v3/reference/api/vue/AlertClose/events.md)

## Source

`client/lib/feedback/alert/AlertClose.vue`
