1e41f4b71Sopenharmony_ci# @ohos.promptAction (Prompt) (System API)
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciThe **PromptAction** module provides APIs for creating and showing toasts, dialog boxes, and action menus.
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci> **NOTE**
6e41f4b71Sopenharmony_ci>
7e41f4b71Sopenharmony_ci> 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.
8e41f4b71Sopenharmony_ci>
9e41f4b71Sopenharmony_ci> 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).
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci## Modules to Import
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci```ts
14e41f4b71Sopenharmony_ciimport { promptAction } from '@kit.ArkUI';
15e41f4b71Sopenharmony_ci```
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci### ToastShowMode
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ciDescribes the mode in which the toast is shown.
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ci**System API**: This is a system API.
22e41f4b71Sopenharmony_ci
23e41f4b71Sopenharmony_ci**System capability**: SystemCapability.ArkUI.ArkUI.Full
24e41f4b71Sopenharmony_ci
25e41f4b71Sopenharmony_ci| Name    | Value  | Description                  |
26e41f4b71Sopenharmony_ci| -------- | ---- | ---------------------- |
27e41f4b71Sopenharmony_ci| SYSTEM_TOP_MOST | 2    | The toast is displayed in a window of the TYPE_SYSTEM_TOAST type. |
28