> ## Documentation Index
> Fetch the complete documentation index at: https://docs.supernote.com/llms.txt
> Use this file to discover all available pages before exploring further.

# showPluginView

> Show the plugin UI.

This API shows the current plugin UI.

```ts theme={null}
showPluginView(): Promise<boolean>;
```

**Returns**

* `Promise<boolean>`: whether the UI was shown successfully

## Example

```ts wrap theme={null}
import { PluginManager } from 'sn-plugin-lib';

/**
 * Example: show the plugin UI.
 */
export async function exampleShowPluginView() {
  const ok = await PluginManager.showPluginView();
  return ok;
}
```
