---
title: "Toast message animated icon"
description: "Toast message animated icon (Notifications). Light: a toast pill fades in and rises 2.5 units into place at the bottom of the screen. Strong: it springs up past its mark and settles. Reverse: it sinks and fades away."
canonical: https://generativeicons.com/icons/toast-message/
---

# Toast message animated icon

Light: a toast pill fades in and rises 2.5 units into place at the bottom of the screen. Strong: it springs up past its mark and settles. Reverse: it sinks and fades away.

- Id: `toast-message`
- Category: Notifications
- Search terms: snackbar, toast notification, popup, pop-up, flash message, status message, temporary message, confirmation message, inline alert, feedback message
- Two states: hidden to shown, 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/toast-message.lottie (dotLottie, 7303 bytes, sha256 a6099ee6f43ffe1e2d4466f2619bd590c6d7bc7ecf92d96e9de903bd96d56613)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add toast-message
```

## React

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

export function ToastMessageIcon() {
  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/toast-message.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/toast-message/ · https://generativeicons.com/api/icons/toast-message
