When creating a page in pxCode, you can customize how the design is imported. This guide explains the two new settings in detail.

Figma layout setting

This setting controls how much of the layout structure from Figma is retained.

image.png

<aside> ✅

Recommended

Not keep – for most cases, this produces a cleaner and easier-to-manage result.

</aside>


Class name setting

This setting determines how class names are handled after import.

image.png

<aside> ⚠️

Note:

If a Figma layer name is invalid, pxCode will fall back to auto-renamed class name.

</aside>

<aside> ⚠️

Note:

After structure is generated, AI naming might still modify class names even if "keep name" was selected.

</aside>

How to use

  1. Upload your Figma file to pxCode as usual.
  2. Go to your imported project in pxCode.
  3. Click "Create Page".