How to

From local variables to your Team Library

Learn how to promote your local variables to a shared Team Library — so your multilingual content is available across all your Figma files.

Sébastien Verschaete

UX ContentHub plugin Manage variables tab with a Health Score of 74/100 and a banner for new variables ready for the library

Why move from local to library?

When you scan a file for the first time, UX ContentHub creates a local Text collection in that file. This is a great starting point, but local variables only live in that file — other files can't access them.

With Advanced Features, the plugin can also find matching variables in your other Figma files during a scan, even without a library. When you use a match, it creates a local copy of the variable in your current file. That copy isn’t linked to the original: if one changes, the other doesn’t. A Team Library remains the way to share a single variable across all your files.

Moving your variables to a Team Library means:

  • Your translations are available workspace-wide

  • Other files can reuse variables instead of duplicating them

  • UX ContentHub always gives priority to library variables over local ones — even if an identical variable exists locally

This article walks you through the full workflow: from checking your local collection is ready, to importing and swapping in your library file.

Step 1 - Check the health of your local collection

Before exporting anything, make sure your local variables are in good shape.

  1. Open UX ContentHub and go to the Manage variables tab

  2. Check the Health Score of your Text collection — aim for a score as close to 100 as possible before exporting

  3. Fix any flagged issues: missing translations, inconsistent naming, variables where the name doesn't match the content

Step 2 - Export your ready variables

UX ContentHub automatically identifies which variables are ready for export to the library — variables with no missing translations, no review flags, and no quality issues are grouped in a Ready for library banner.

  1. In the Manage variables tab, click the New variables ready for library banner to expand the list of export candidates

  2. Variables are grouped by prefix — select the prefixes (or individual variables) you want to promote

  3. Click Export variables to prepare them for import into your Team Library source file

Step 3 - Open the plugin in your library file

  1. In Figma, open your library file: the file where This file is the library is turned on in Settings › Library setup

  2. Open UX ContentHub in that file. It opens directly on Manage variables, with all your collections

  3. If your library has several collections, the Collection menu lets you show all of them or only some

Step 4 - Import into the library

  1. In Manage variables, click Actions → Import from Excel

  2. Select the Excel file exported in Step 2. If your library has several collections, choose the collection to import into

  3. Check the duplicates and ready for Default chips of the Health Score: they help you keep the library clean before you publish

  4. Publish your library via Figma's Assets panel so the changes are available to all connected files

Step 5 - Swap local variables for library variables

  1. Go back to your original working file, and make sure your library is added to it (Assets › Libraries)

  2. Open UX ContentHub → Manage variables → Actions

  3. Click Swap to library, then choose the scope: the current page only or the entire file

  4. The plugin replaces your local variables with their library equivalent, by name or by identical translations. All text layer bindings are updated automatically

Your file now uses shared library variables instead of local ones. Any future updates made in the library will propagate across all connected files.

Next steps

Your file now uses shared library variables. New text layers you scan in this file will automatically be matched against the library first — keeping your workspace consistent from the start. To maintain translation quality over time, make sure to regularly check the Health Score of your local collections under the Manage variables tab.