DesignOps - Sample - Home Deco

Official Content
This documentation is valid for:

This article is about a design file for a Home Deco mobile front end made with the Figma design tool.

Sample resource

Download Icon Material Home Deco

First, save a local copy to your Figma account as follows:

  1. Log in to your Figma account (or create a new Figma account).
  2. Open the Home Deco sample provided (you have a read-only view).
  3. Go to File > Save Local Copy; it will download a file with .fig extension. Alternatively, you can use the "Duplicate to your drafts" option from the dropdown menu and skip steps 4 and 5.
  4. Go to your dashboard.
  5. Look for the "Import file" option and select the .fig file downloaded in step (3).
  6. Now you have a local copy of the Figma file.

Next, follow the instructions of HowTo: Export a Figma design with your local copy.

Importing Figma file

Basically, you must follow the instructions described in the Design Import option article.

Once you paste your Figma URL in the File field of the Design Import option, you can start the inspection process by clicking on the Load button (it will ask you for the Figma Token). After processing every file retrieved from Figma, the Design Import dialog will display a preview as follows:

Home Deco - Preview

You can inspect every node in the left-side tree. Every type of node will show context information; for example, preview (image and layout tree) and GXML code in case of Panels; only GXML code in case of a Design System for describing tokens and styles; a preview for Images and Fonts, etc. Also, you can select/unselect the nodes depending on whether or not you want to import them.

Warning: When you select/unselect nodes, there is no dependency check between nodes. So, for example, if you unselect a node, make sure there is no dependency with another node (for example, an image used in a panel). Otherwise, some import errors may occur.

Once the import has finished, check the generated panels and how they look. Also, check the tokens/styles in the Design System object, Image objects, and File objects (fonts) imported.

Finally, if you agree with the objects to be generated, you can click on the OK button and start importing the design into the Knowledge Base.

Runtime execution

Lastly, run the generated Main menu object to view the generated panels.

Warning: Do not expect it to be perfect. It is highly likely that you or your designer will have to fix something in the design file or the generated objects (abstract layout or style-classes).

Here is a preview of all three panels, showing how they were designed (Top-Level Frame column) and how they look at runtime without making any changes (Android/iOS columns).

Designer Developer
Figma Main-Frame GeneXus Android iOS
Home Decor Home Deco - Home Deco (Figma) ViewHomeDecor Home Deco - Home Deco (Android) Home Deco - Home Deco (iOS)
Category Page Decor Home Deco - Category Page Deco (Figma) ViewCategoryPageDecor Home Deco - Category Page Deco (Android) Home Deco - Category Page Deco (iOS)
Product Page Decor Home Deco - Product Page Deco (Figma) ViewProductPageDecor Home Deco - Product Page Deco (Android) e Deco - Product Page Deco (iOS)

You may notice a few differences between the design and how it looks at runtime, but you as a developer can make adjustments and achieve a perfect result.

Anyway, all panels were almost perfect on the first try!


Generators Android, Apple

See also


This sample has been made for GeneXus 17 Upgrade 10 and above.