# Toast Gravity Stack

> A toast notification tray where alerts fall under simulated gravity and pile into a jostling heap, with heavier severities sinking and the pile resettling when a toast is dismissed or swiped away.

- Author: [nikolas-sapa](https://21st.dev/@nikolas-sapa)
- Library: @ns-ui
- License: MIT
- Tags: Notification, Toast, Feedback, Physics
- Live preview: https://21st.dev/@nikolas-sapa/components/toast-gravity-stack

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/nikolas-sapa/toast-gravity-stack?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/notification.md
