1. Connecting Figma
First, you’ll need to authorize Blox to access your Figma account.- Go to Settings > Integrations in the Blox Dashboard.
- Click Connect Figma.
- Log in and authorize the application.
2. Preparing your File
The Blox AI agent is smart, but it works best when your Figma files follow these best practices:Clean Layer Naming
Rename your layers to reflect their purpose. Instead ofFrame 452, use LoginButton or HeaderTitle.
Use Auto Layout
Blox maps Figma’s Auto Layout directly to Flexbox in React Native. Using Auto Layout ensures your app is responsive across different screen sizes.Component Sets
If you have multiple states for a button (e.g., Primary, Disabled), organize them into a Component Set in Figma. Blox will recognize these as separate variants in the code.3. Importing the Design
Once your file is ready:- Copy the URL of your Figma file.
- In the Blox Builder, click the Import icon in the sidebar.
- Paste the URL and select the frames you want to import.
4. Video Walkthrough
[PLACEHOLDER: Insert Loom Video of Figma Import Flow Here]Troubleshooting
Images are missing after import
Images are missing after import
Ensure that any images or icons in Figma are marked as “Exportable” before you start the import.
Layout looks different on mobile
Layout looks different on mobile
Check that your Figma frame width matches the mobile device width (usually 375px or 390px).