# Glass Notifications

Glass Notifications 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

Swipe-to-dismiss notification stack with glass cards and spring-animated layout transitions.

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

## Install

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

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-notification.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import GlassNotification from '@/components/aicanvas/glass-notification'

<GlassNotification />
```

It takes no props.

## About

Glass Notifications is a vertical stack of swipe-to-dismiss notification cards with glassmorphism surfaces and spring-animated layout transitions, so removing one card lets the others reflow rather than jumping. Motion handles both the swipe physics and the layout choreography, and the glass surface adapts to whatever the user has scrolling behind it. It works well for SaaS notification trays, mobile-style alert centres, and dashboard activity feeds where individual items should feel tactile.

Use cases: SaaS, Dashboard, Mobile app.

## Source

Install with the command above to get the source.

## Remix prompt

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

## Related

- [Glass Toast](https://aicanvas.me/components/glass-toast.md): Frosted glassmorphism toast notification stack with 4 variants, auto-dismiss progress bar, and spring-animated stacking.
- [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.
