> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Method name:

siteStorage.local()

# Method Link:

https://dev.wix.com/docs/frontend-modules/frontend-modules/storage/local.md

# Method Description:

Used for local storage of data.

Use the methods in the Storage API to manage `local` data.

# Method Permissions:



# Method Permissions Scopes IDs:

undefined



# Method Code Examples:

## Store an item in local storage

```javascript
import { local } from '@wix/site-storage';

// ...

await local.setItem("key", "value");


```

## Retrieve an item from local storage

```javascript
import { local } from '@wix/site-storage';

// ...

let value = await local.getItem("key"); // "value"


```

## Remove an item from local storage

```javascript
import { local } from '@wix/site-storage';

// ...

await local.removeItem("key");

```

## Remove all items from local storage

```javascript
import { local } from '@wix/site-storage';

// ...

await local.clear();

```