# Smootify.toast()

> shows the page's `[toast="<name>"]` (in `smootify-toasts`) with `items` written into its `[toast-item]` children, as `Smootify.toast("added-to-cart", { title: "Gift wrap" })`; false when the page has no such template

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

shows the page’s `[toast="<name>"]` (in `smootify-toasts`) with `items` written into its `[toast-item]` children, as `Smootify.toast("added-to-cart", { title: "Gift wrap" })`; false when the page has no such template New in 2.0.

```ts
toast( name: string, items?: Partial< Record<"image" | "title" | "variant-title" | "quantity" | "price" | "count" | "message", string> >, ): boolean
```
