Design System
Figma Variants

Figma Variants

Locofying Figma Variants

Locofy fully supports Figma variants, respecting all the variant, text, and boolean properties you’ve already defined. Follow these steps to ensure Locofy seamlessly recognizes and works with your variants.

Ensuring Accurate Variant Recognition

To make sure Locofy correctly recognizes your Figma variants, ensure the following:

  • Select both the design frame and master component frames in Figma.

  • Ensure all variant permutations are fully designed in Figma.
  • Maintain a consistent layer structure for each variant.

Locofy Lightning

  1. Select the design frames and master component frames that you want to convert into code.

  2. Run Locofy Lightning to process the frames.

  3. In Preview Mode, you can test the interactivity of your components.


  1. Switch to Edit Mode in Locofy to view and modify your component properties.

Locofy Classic

  1. Select the design frames and master component frames that you want to convert into code.
  2. Click on “Sync to builder.”
  3. Open the Locofy Builder and on the right panel, you’ll find “Make Components”; click on “Create.”
  4. Locofy Builder will recommend components to create. You can edit the variant, value, conditional, and style properties here. Then, click on the green “Accept instances” button.