Mappings are powerful links between your data and Figma layers. Before creating a mapping, make sure you have added at least one dataset in the Data explorer tab.

🔙 BACK

How to create a mapping

1. Go to the Mappings tab

Click on “Create my first mapping”

mappings.png

2. Link your dataset to Figma layers

Select each dataset source and their corresponding Figma layer in order to start linking specific data to your designs. You can add as many datalinks as you want for a single mapping.

new-mapping-main-screen.png

3. Select the format of your dataset

When choosing which dataset to link to your designs, you can select a format for the data. For example, if you’re going to insert a date of birth, select this format from the dropdown to ensure that your data is correctly formatted every time.

new-mapping-select-format.png

4. Add a prefix or suffix

You can also optionally add a prefix or suffix to the data you’re inserting in your designs. For example, before every instance of a date of birth, we might want to add a text prefix such as “Born on:”. Simply type this text into the prefix field and it will automatically be applied before the data.

new-mapping-add-prefix.png

5. Add as many data links as you need

For example, you may want to set up a Mapping to quickly fill multiple layers that are repeated in your designs, such as a profile card. So here we’ve linked the Avatar data with all shape layers called “Ellipse”, DateOfBrith with all text layers called “DOB” and the FullName data with all text layers called “Name”.

new-mapping-apply-datalinks.png

6. Save your mapping

Click on “Create mapping” to save your first mapping and give it a name to help you identify it.

save-new-mapping.png

5. Apply data to your designs

Now, select one or all Figma layers that you want to apply the data to and use the mapping to apply the relevant data in bulk by clicking “Apply first X results to all selected layers”.

new-mapping-apply-data.png

6. Create another one

To create another mapping, click on the 3 dots in the top-right corner and select “Create new mapping”. From here you can also edit, delete or duplicate existing mappings.

mapping-menu.png


D2D logo 256x256.png

Links

data.to.design

Chat with us

Help center

Getting started

Datasets

Mappings

Security

Google Sheet templates

Troubleshooting