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

# close

> Closes the app

Closes the mini app.

<img src="https://mintcdn.com/neynar/iU1SqchDG-KeAStB/miniapps/close_preview.png?fit=max&auto=format&n=iU1SqchDG-KeAStB&q=85&s=4d8b676556c58aebeeb87ede8ca02859" alt="closing the app" width="1756" height="1194" data-path="miniapps/close_preview.png" />

*Close the app with `close`.*

## Usage

```ts theme={"system"}
import { sdk } from '@farcaster/miniapp-sdk'

await sdk.actions.close()
```

## Return Value

`void`


## Related topics

- [composeCast](/miniapps/sdk/actions/compose-cast.md)
- [Specification](/miniapps/specification.md)
- [Host Farcaster Mini Apps — Overview](/docs/app-host-overview.md)
- [Set up Neynar with Cursor and MCP server](/docs/neynar-farcaster-with-cursor.md)
- [Quick Auth](/miniapps/sdk/quick-auth.md)
