
About Locofy.ai
Locofy.ai helps engineers and designers launch products 10x faster -- with design to code automation. We’re in open beta for Figma Designs to React, React Native, HTML-CSS, Gatsby, Next.js, Vue.js, Flutter, SwiftUI, Jetpack Compose and launching more frameworks (like Svelte etc) soon!
Locofy Extension - Easily bring Locofy generated code into VS Code, Cursor, Windsurf and Antigravity
Locofy extension seamlessly integrates the powerful capabilities of Locofy into your environment. Developers can effortlessly fetch projects, components, pages, and styles, streamlining the workflow by eliminating the need to switch platforms.
Installation
- Open VS Code, Cursor, Windsurf or Antigravity on your machine.
- In your editor, click the Extensions button in the left panel or you can use the following shortcuts:
- Mac:
CMD + Shift + X
- Windows / Linux:
CTRL + Shift + X.
- Search for “Locofy” and click the install button.
Getting Started
After installation, utilize the prebuilt commands provided by the Locofy.ai extension to enhance your coding experience.
To access commands:
- Once the desired editor has been installed, use the following shortcuts:
- Mac:
CMD + Shift + P
- Windows/Linux:
CTRL + Shift + P
- For quicker access, click on the Locofy icon in the status bar, which provides a dropdown of all available commands.
Available Commands

- Login: Start the login process.
- Sync Entire Project: Synchronize your entire project.
- Pull Single File: Retrieve specific components, pages, CSS, or config files.
- Pull File & Dependencies: Fetch specific files and their dependencies.
- Docs: Visit the official Locofy.ai documentation.
- Give Feedback: Share your insights via a short questionnaire.
- Let’s Chat: Join the Locofy.ai Discord community.
- Sign Out: Log out of your Locofy account.
Accessing to the Locofy.ai Account
Using the Login command, you can access your Locofy.ai account. This command will redirect you to a web interface for completing the authentication process. Once completed, you can access your Locofy.ai projects via the extension.
Similarly, you can use the Sign out command to sign out from your account.
Fetching Entire Project Code

Use the Sync Entire Project command to pull your synced design from Locofy right into your favourite editor.
- Open the commands menu by clicking the Locofy.ai icon in the statusbar at the bottom.
- Select the
Sync Entire Project command.
- You will be presented with a list of projects that are synced to the Builder. Select the project you need and the extension will pull the entire project into your editor.

Pull Single File

You can use the Pull Single File command to fetch a specific file from your projects such as a component, page, CSS file, or configuration-related file.
- Open the file where you want to sync the code or create a new file.
- Open the commands menu by clicking the Locofy.ai icon in the statusbar at the bottom.
- Select the
Pull Single File command.
- You will be presented with a list of your projects you can a pull a file from. Select the project containing the file you need.
- You will see a list of files from the project you selected as shown below. Click on the file you need.
- Now you should see pulled file's code present in your editor.
Note: This command does not pull the dependencies in the selected file such as any imported components, styles etc, that may be required to work correctly.
Pull File & Dependencies

You can use the Pull File & Dependencies command to pull the specific file and all its dependencies such as any assets, components, or styles referenced within it.
- Open the file where you want to sync the code or create a new file.
- Open the commands menu by clicking the Locofy.ai icon in the statusbar at the bottom.
- Select the
Pull File & Dependencies command.
- You will be presented with a list of your projects you can a pull a file from. Select the project containing the file you need.
- You will see a list of files from the project you selected as shown below. Click on the file you need.
Note: You will notice that not only the file is pulled but its dependencies are pulled as well.
Conflict Detection

The extension identifies any conflicts between the existing code and the new code fetched from Locofy.ai and presents a comparison, allowing you to easily resolve them.
When you pull a file and its code is different from the existing code in your editor, you will see 4 options to resolve the conflicts:
- Accept Current Change: This options allows you to keep your local code.
- Accept Incoming Change: This option overwrites your local code and replaces with the newly generated code.
- Accept Both Changes: This options combines both incoming and current changes in the present file.
- Compare Changes: This option will open a side by side view for you to easily merge the code differences.
Privacy Policy
We prioritize your data's safety and follow responsible practices. Read our Privacy Statement.
Troubleshooting
Help us enhance the Locofy extension! If you encounter issues please view our docs or get real time support from our Communty on the Discord Channel.