# Glass Toast

Glass Toast is a free, MIT-licensed standalone component from AI Canvas (https://aicanvas.me): it belongs to no design system and works in any React + Tailwind app. Index of every component and install setup: https://aicanvas.me/llms.txt

Frosted glassmorphism toast notification stack with 4 variants, auto-dismiss progress bar, and spring-animated stacking.

- Category: Notifications
- Built with: Motion, Tailwind CSS
- License: MIT
- Page: https://aicanvas.me/components/glass-toast

## Install

```bash
npx shadcn@latest add @aicanvas/glass-toast
```

Needs a free AI Canvas account. Signed out, the command exits 0 but writes a placeholder (an `AccountRequired` notice); check for it before reporting success. Token setup: the Install section of https://aicanvas.me/llms.txt.

AI agents can also get its install command from the read-only AI Canvas MCP server (`npx -y @aicanvas/mcp`) and run it. Setup: https://aicanvas.me/mcp

Peer dependencies:

```bash
npm install framer-motion
```

## Use it

It installs to `components/aicanvas/glass-toast.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import GlassToast from '@/components/aicanvas/glass-toast'

<GlassToast />
```

It takes no props.

## About

Glass Toast is a frosted-glass toast notification system with four variants (success, info, warning, error), an auto-dismiss progress bar inside the card itself, and spring-animated stacking when multiple toasts queue up. Motion handles both the entrance/exit timing and the stack reflow when one disappears. It is the canonical toast component for SaaS dashboards, mobile apps, and any product that needs short-lived, low-friction feedback after an action.

Use cases: SaaS, Dashboard, Mobile app.

## Source

Install with the command above to get the source.

## Remix prompt

Only when the user wants Glass Toast rebuilt from scratch instead of installed: its remix prompt is in the Remix panel at https://aicanvas.me/components/glass-toast.

## Related

- [Glass Notifications](https://aicanvas.me/components/glass-notification.md): Swipe-to-dismiss notification stack with glass cards and spring-animated layout transitions.
- [Glass Tags](https://aicanvas.me/components/glass-tags.md): Selectable pill-shaped tags with glass surfaces, unique color accents, and spring-animated check marks.
- [Glass Search Bar](https://aicanvas.me/components/glass-search-bar.md): Glassmorphism search bar with animated suggestion dropdown, active state glow, and reduced-motion support.
- [Glass Sidebar](https://aicanvas.me/components/glass-sidebar.md): Collapsible glassmorphism sidebar with icon-only and full label states, spring-animated expand and collapse.
- [Glass User Menu](https://aicanvas.me/components/glass-user-menu.md): Frosted glass user avatar trigger with animated dropdown, grouped menu items, and Log Out.
