Skip to main content
Glama

design_to_code

Convert Figma designs into React components and create GitHub pull requests. Accepts Figma URLs or file IDs to generate TypeScript React code with accessibility validation.

Instructions

Convert Figma design to React component and create GitHub PR. Accepts Figma URLs or file IDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
figmaInputYesFigma URL (with node selection) or file ID. Example: https://www.figma.com/file/abc123/Design?node-id=1%3A2
componentNameYesName for the generated React component (e.g., "HeroButton")
outputPathNoOutput directory for component files (default: "./src/components")./src/components
githubBranchNoGitHub branch name for the changes (default: auto-generated)auto-generated

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/surisagar900/figma-to-react-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server