design-to-code

Convert Figma designs and screenshots to React/Svelte/Vue components with built-in accessibility

View on GitHub
Author Jeremy Longshore
Namespace @jeremylongshore/claude-code-plugins-plus
Category design
Version 1.0.0
Stars 1,193
Downloads 18
self.md verified
Table of content

Convert Figma designs and screenshots to React/Svelte/Vue components with built-in accessibility

Installation

npx claude-plugins install @jeremylongshore/claude-code-plugins-plus/design-to-code

Contents

Folders: servers, skills

Files: LICENSE, README.md, package.json, server.json, tsconfig.json

Documentation

Convert Figma designs and screenshots to production-ready code components

Transform design files into React, Svelte, or Vue components with built-in accessibility.

Features

Installation

/plugin install design-to-code@claude-code-plugins-plus

3 MCP Tools

1. parse_figma

Extract components from Figma JSON export.

{
  "json": "{\"name\": \"Button\", ...}",
  "framework": "react"
}

2. analyze_screenshot

Analyze screenshot layout and extract UI elements.

{
  "imagePath": "/path/to/screenshot.png",
  "framework": "svelte"
}

3. generate_component

Generate code from layout specification.

{
  "layout": {
    "type": "container",
    "children": [...]
  },
  "framework": "react",
  "includeA11y": true
}

Quick Start

// 1. Parse Figma design
const design = await parse_figma({
  json: figmaExport,
  framework: 'react'
});

// 2. Generate component
const component = await generate_component({
  layout: design.layout,
  framework: 'react',
  includeA11y: true
});

// Result: Production-ready React component with accessibility

Accessibility Features

All generated components include:

Supported Frameworks

License

MIT License


Made with ️ by Intent Solutions

Source

View on GitHub

Tags: design mcpdesignfigmareactsveltevueaccessibilitycomponent-generation