You can ask gemini to directly access and code your figma designs for free, with a figma MCP server.
>Get a gemini api token(free atleast for the flash model)
>Get your figma token
>Install the gemini cli with npm
>Install and run any figma mcp server, I am using this one
https://github.com/GLips/Figma-Context-MCP
>Connect the MCP server in gemini cli config
something like
[code]
{
"mcpServers": {
"figma-local": {
"httpUrl": "http://localhost:3001/mcp"
}
}
}
[\code]
Now you can run gemini mcp list to check if it is connected.
Now just cd into your project, ask gemini to create a UI with file id(of your figma design) with for example react and add --dir in the end and it will make it for you
Gemini+Figma for UI
Duck
loc-IN
zy3chcbmbu.jpg
You can ask gemini to directly access and code your figma designs for free, with a figma MCP server.
>Get a gemini api token(free atleast for the flash model)
>Get your figma token
>Install the gemini cli with npm
>Install and run any figma mcp server, I am using this one
https://github.com/GLips/Figma-Context-MCP
>Connect the MCP server in gemini cli config
something like
[code]
{
"mcpServers": {
"figma-local": {
"httpUrl": "http://localhost:3001/mcp"
}
}
}
[\code]
Now you can run gemini mcp list to check if it is connected.
Now just cd into your project, ask gemini to create a UI with file id(of your figma design) with for example react and add --dir in the end and it will make it for you