---
url: "/copydoc/tutorials/use-figma-variables-as-a-re-useable-text-content-library.md"
description: "This video shows how to use Figma string variables as a reusable text content library in the CopyDoc Figma plugin. It covers creating local string variables in Figma, importing them into CopyDoc through the Integrations tab, and applying them to one or more text layers with ordered or random options."
---

# Use Figma Variables as a re-useable text content library

> This video shows how to use Figma string variables as a reusable text content library in the CopyDoc Figma plugin. It covers creating local string variables in Figma, importing them into CopyDoc through the Integrations tab, and applying them to one or more text layers with ordered or random options.

[← Back to CopyDoc Video Tutorials](/copydoc/tutorials)

[Embedded media](https://www.youtube.com/embed/X6TDkfp0W8A)

**What this video covers**

This video shows how to use Figma string variables as a reusable text content library in the CopyDoc Figma plugin. It covers creating local string variables in Figma, importing them into CopyDoc through the Integrations tab, and applying them to one or more text layers with ordered or random options.

**Things you'll need**

- A Figma file with local string variables created
- The CopyDoc Figma plugin installed

**Steps**

1. Open the CopyDoc Figma plugin from Resources or from Plugins on the canvas.
2. Go to Content Library, then open the Integrations tab and select the Figma option for Figma string variables.
3. Create local string variables in Figma using the create variable button, then name them and paste text into the value field.
4. Use double pipe symbols to split one variable value into multiple strings, or keep a single value for one item.
5. Click the refresh icon in CopyDoc to load the Figma variables into the Content Library.
6. Select one or more text layers in Figma and use Supply to apply a random string, or choose a specific string and apply it.
7. For multiple selected layers, apply the content in order, random order, alphabetical order, reverse alphabetical order, or the same value across selections.

**Useful links**

- [Watch the full video on YouTube](https://www.youtube.com/watch?v=X6TDkfp0W8A)
- [Read the full video transcript](https://www.hypermatic.com/tutorials/how-to-use-figma-variables-as-a-re-useable-text-content-library-using-copy-doc)
- [Browse Copydoc tutorial docs](https://docs.hypermatic.com/copydoc/tutorials)
