Show HN:開源的 Figma 設計轉 React 程式碼工具

Show HN:開源的 Figma 設計轉 React 程式碼工具

Hacker News·

這篇「Show HN」文章介紹了 VibeFigma,一個開源工具,能將 Figma 設計轉換為使用 Tailwind CSS 的生產就緒 React 組件。該工具利用 Figma API 生成乾淨、易於維護的程式碼,並提供 CLI 和 API 使用方式。

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

To see all available qualifiers, see our documentation.

Figma to React Converter

License

vibeflowing-inc/vibe_figma

Folders and files

Latest commit

History

Repository files navigation

VibeFigma - Figma to React Converter

Transform your Figma designs into production-ready React components with Tailwind CSS automatically. VibeFigma leverages the official Figma API to accurately extract design information and generate clean, maintainable code.

Demo Video

Image

Features

Step 1: 🔑 Getting a Figma Access Token

Set it as an environment variable:

Step 2: Quick Start

Using npx (Recommended)

No installation required! Just run:

Using Environment Variable

Set your Figma token once:

Using our CLI

This will prompt you for:

Image

Advanced Usage

Basic Usage

Custom Output Paths

Disable Tailwind CSS

Advanced Options

Command Options

API Server

This project also includes a REST API server:

Configuration

Create a .env file:

API Usage

The project includes a REST API for Figma to React conversion:

See API.md for full API documentation.

CLI Development

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgments

This project includes code derived from css-to-tailwindcss by Salakhutdinov Salavat, licensed under the MIT License.

License

This project is licensed under the Functional Source License, Version 1.1, MIT Future License (FSL-1.1-MIT). See the LICENSE file for the full license text.

See the NOTICE file for details about third-party code used in this project.

About

Figma to React Converter

Topics

Resources

License

Uh oh!

There was an error while loading. Please reload this page.

Stars

Watchers

Forks

Releases

Packages

  0

Contributors

  2

Image

Image

Languages

Footer

Footer navigation

Hacker News

相關文章

  1. Show HN:Figma-use – 用於控制 Figma 的命令列介面,支援 AI 代理

    3 個月前

  2. Show HN:GenVibe - AI 從文字、Figma、截圖生成 React 應用程式

    4 個月前

  3. Show HN:Vibe Coding - 一個利用多個程式設計AI模型的網站

    8 個月前

  4. Show HN:CSS Studio。手動設計,由 AI 代理人編寫程式碼

    14 天前

  5. Show HN:Vibe Flow – 專為 AI 輔助開發打造的純提示工具包

    7 個月前