Figma Auto Layout is a Unity Editor package that transforms Figma designs into structured Unity UI prefabs. It preserves anchors, hierarchy, naming, and even adds specific components. This tool dramatically speeds up UI layout workflows in Unity.
- Import Figma frames and pages
- Build UI prefabs using a custom Layout Pipeline
- Download assets from Figma (now only .jpg)
Edit your Unity project's Packages/manifest.json and add:
"com.hugglebit.figmaautolayout": "https://github.com/chav0/FigmaAutoLayout.git?path=FigmaAutoLayout"You can also install this package directly from the Unity Editor:
- Open
Window → Package Manager - Click the
+button →Add package from Git URL... - Paste this URL:
https://github.com/chav0/FigmaAutoLayout.git?path=FigmaAutoLayout
-
Open the tool via
Tools → UI → Figma -
Enter your Figma Personal Access Token and File URL
-
Set:
- UI Prefab path
- UI Layer ID
- Layout Pipeline (ScriptableObject)
- Component List (ScriptableObject)
-
Click
Parse Figma Fileto load available pages/frames -
Select a page and frame, then click
Create Prefab
This plugin currently requires a Figma personal access token.
You need to create it in the settings in Figma: Settings → Sequrity → Personal access tokens → Generate new token.
OAuth authentication may be added in future versions.
This package uses:
com.unity.nuget.newtonsoft-jsoncom.unity.textmeshpro
They will be installed automatically by Unity Package Manager.
Made with love by Hugglebit. Feel free to contribute, suggest features, or report issues at: https://github.com/chav0/com.hugglebit.figmaautolayout
