---
title: "Alert dismiss animated icon"
description: "Alert dismiss animated icon (Notifications). Light: the top alert card slides off to the right and fades while the card below rises into its place. Strong: it flicks away with a 7° tilt and the lower card springs up with a small overshoot. Result retained; preview reset rearms."
canonical: https://generativeicons.com/icons/alert-dismiss/
---

# Alert dismiss animated icon

Light: the top alert card slides off to the right and fades while the card below rises into its place. Strong: it flicks away with a 7° tilt and the lower card springs up with a small overshoot. Result retained; preview reset rearms.

- Id: `alert-dismiss`
- Category: Notifications
- Search terms: swipe away, swipe to dismiss, clear notification, close notification, close alert, remove alert, hide alert, clear alert, acknowledge, got it, next alert
- Two states: prepared to result, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/alert-dismiss.lottie (dotLottie, 11020 bytes, sha256 a508226b403eff3501ab3eacf86b79564a3c34e5aaa2ce3b902df70319b1f8cb)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add alert-dismiss
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/alert-dismiss.mjs';

export function AlertDismissIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/alert-dismiss.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/alert-dismiss/ · https://generativeicons.com/api/icons/alert-dismiss
