# Toast buttons

> The values of `data-action` inside `smootify-toasts [toast]`.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/attributes/toast-actions  
Updated: 2026-10-13

## Where it can go

- **Inside** `smootify-toasts [toast]`.
- On a real `<button>` (a Webflow Button is a link, a Form Button an input), link.

## Values

| Attribute and value | What it is | Notes |
|---|---|---|
| `data-action="close"` | Close the toast | — |
| `data-action="open-cart"` | Open the cart | Opens the page’s mini cart and closes the toast; with no mini cart a link to the cart page works as a link |
