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

# closeSidebar

> Programmatically close the Mage loyalty sidebar.

Close the Mage loyalty sidebar.

## Usage

```javascript theme={null}
MageSDK.closeSidebar();
```

## Parameters

None.

## Returns

`void`. This method does not return a value.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.