[O3 Framework](../API.md) / showToast

# Function: showToast()

> **showToast**(`toast`): `void`

Defined in: [packages/framework/esm-styleguide/src/toasts/index.tsx:38](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/toasts/index.tsx#L38)

Displays a toast notification in the UI.

## Parameters

### toast

[`ToastDescriptor`](../interfaces/ToastDescriptor.md)

The description of the toast to display.

## Returns

`void`
