1# @ohos.promptAction (Prompt) (System API) 2 3The **PromptAction** module provides APIs for creating and showing toasts, dialog boxes, and action menus. 4 5> **NOTE** 6> 7> The initial APIs of this module are supported since API version 12. Newly added APIs will be marked with a superscript to indicate their earliest API version. 8> 9> This topic describes only the system APIs provided by the module. For details about its public APIs, see [@ohos.promptAction (Prompt)](js-apis-promptAction.md). 10 11## Modules to Import 12 13```ts 14import { promptAction } from '@kit.ArkUI'; 15``` 16 17### ToastShowMode 18 19Describes the mode in which the toast is shown. 20 21**System API**: This is a system API. 22 23**System capability**: SystemCapability.ArkUI.ArkUI.Full 24 25| Name | Value | Description | 26| -------- | ---- | ---------------------- | 27| SYSTEM_TOP_MOST | 2 | The toast is displayed in a window of the TYPE_SYSTEM_TOAST type. | 28