> Deprecated: > Product subscription app extensions won't be supported as of December 3, 2025. You should migrate existing product subscription app extensions to [purchase options extensions](/docs/apps/build/purchase-options/purchase-options-extensions). The toast component is a non-disruptive message that appears at the bottom of the interface to provide quick, at-a-glance feedback on the outcome of an action.
(content: string, options: ShowToastOptions) => void
| Trigger a toast message to appear. |
### ShowToastOptions
| Name | Type | Description |
| --- | --- | --- |
| error? | boolean
| Display toast in error format. |