moai-design-tools

Extract Figma design tokens and export React/Tailwind components.

67|27|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/modu-ai/cc-plugins --skill moai-design-tools-modu-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-design-tools
Source: https://github.com/modu-ai/cc-plugins/tree/main/.claude/skills/moai-design-tools
Command: npx skills add https://github.com/modu-ai/cc-plugins --skill moai-design-tools-modu-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of translating visual designs into functional code, bridging the gap between design tools and development implementation.

Core Features & Use Cases

  • Design Fetching: Integrates with Figma to extract design context, tokens, and specifications.
  • Visual Rendering: Uses Pencil MCP to render designs from text or DNA codes into visual frames.
  • Code Generation: Exports Pencil designs into production-ready React and Tailwind CSS code.
  • Use Case: A developer needs to implement a UI component based on a Figma design. They use this Skill to fetch design tokens and layout information from Figma, then export a corresponding React component with Tailwind styling.

Quick Start

Use the moai-design-tools skill to export the current .pen design to React and Tailwind code.

Frequently Asked Questions about moai-design-tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Figma designs to React and Tailwind code?

To convert Figma designs to React and Tailwind code, you can fetch design tokens and layout specifications from Figma and export them into production-ready components. This workflow bridges visual design context directly into functional code.

Can I render visual UI prototypes from text descriptions before coding?

Yes, you can render visual UI prototypes from text descriptions or DNA codes into visual frames. This visual rendering process allows you to generate and preview design layouts before exporting them as code.

What is the best way to extract design tokens from Figma for UI implementation?

The best way to extract design tokens from Figma for UI implementation is to use a design-to-code workflow that fetches design context and specifications directly from the Figma platform, ensuring accurate translation of visual properties into code.

Do I need Pencil to generate React components from Figma designs?

You need a visual design rendering tool like Pencil to act as the bridge between Figma and code generation. Pencil renders the visual frames that are subsequently exported into production-ready React and Tailwind CSS components.

Does this design to code workflow support exporting production-ready React components?

Yes, this design-to-code workflow fully supports exporting production-ready React components. It translates visual designs rendered in Pencil into functional React code styled with Tailwind CSS for immediate development use.

What are the limitations of translating Figma designs into React and Tailwind?

The translation process relies on extracting available design tokens and visual context from Figma and rendering them through Pencil. Complex custom animations or non-standard interactive states not defined in the design tokens may require manual code adjustments.