Community forum for knowledge and support

Updated last month

How to Import Variables and Relume Style Guide into an Existing Project

At a glance

The community member is asking for instructions on how to import variables and the Relume style guide into an existing project. They are encountering an "Unknown variable" error when trying to copy a component, even after copying all the variables with the same names. A community member responds that Webflow has unique IDs that need to be mapped to elements, and there is currently no way to do that. They suggest following a guide on how to use Relume with existing projects.

Useful resources

Are there any instructions on how to import variables and the Relume style guide into an existing project? Even after copying all the variables with the exact same names, I still encounter the error 'Unknown variable' for many colors when trying to copy a component.

Attachment
image.png
M
1 comment

@U02QZCEKNJJ Webflow has unique IDs that still need to be mapped to elements and there's currently no way to do that. So importing variables (or creating them with the same names) won't work and is not possible because of Webflow limitations today.

Your best bet is to follow this guide on how to use Relume with existing projects:
https://www.relume.io/resources/docs/updating-existing-projects

Add a reply
Sign up and join the conversation on Slack