---
title: Clipboard
---
import { Tabs, Tab } from 'nextra-theme-docs';
import { Callout } from 'nextra/components';
# Clipboard
## lib.setClipboard
Sets the player's clipboard to the specified string value.
Will not work if focus is already taken by some NUI component.
To create a new line use `\t\n` not just `\n` in your string.
```lua
lib.setClipboard(value)
```
```ts
import lib from '@overextended/ox_lib/client';
lib.setClipboard(value);
```
- value: `string`