百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

bricks

> 前端框架
开源

Bricks 是一个 开源 工具,可将 Figma 设计转换为高质量的前端代码。

99 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Bricks 是一个 开源 工具,可将 Figma 设计转换为高质量的前端代码。

Bricks: Design to Code For Developers

Bricks is an open source tool for converting Figma designs into high-quality frontend code.

Check out our demo video!

Getting Started

Development Version

VSCode extension:

  1. Make sure that you have installed Node.js and Yarn 1.
  2. Clone our VSCode extension.
  3. Run yarn install in the repository's root directory.
  4. Click on "Run" and select "Start Debugging" to start the VSCode extension in development mode.
  5. Click on "Activate Bricks" in VSCode's status bar in the right corner.
  6. Proceed to start the Figma plugin.

Figma plugin:

  1. Install Node.js and Yarn 1.
  2. Run yarn install in the repository's root directory.
  3. Right Click in Figma -> "Plugins" -> "Development" -> "Manage plugins in development"
  4. Click on "+" -> import plugin from manifest -> Select bricks/figma/dist/manifest.json file to import the plugin
  5. Click on "Run" and select "In-development version" to start the Figma plugin in development mode.
  6. After activating Bricks' VSCode extension, start selecting components and click on "Generate" button to start generating code.

Production Version

  1. Install Node.js.
  2. Install both the VSCode extension and the Figma plugin.
  3. Click on "Activate Bricks" in VSCode's status bar in the right corner to activate the extension.
  4. In Figma, select components to convert to code.
  5. Click “Generate”.
  6. Done! The generated code shows up in VS Code, along with a live preview.
  7. You can tinker with the generated code, and see changes instantly in the preview
  8. When you’re happy with the code, just drop it into your codebase

Project Structure

Bricks is composed of a number of components. Below is a description of each component:

  • figma: the Figma plugin for Bricks.
  • core: the engine that converts Figma nodes into coding files.

Related Projects

  • bricks-cloud/vscode: the VS Code extension for Bricks.

License

Distributed under the Apache 2.0 License and Bricks Enterprise License. See LICENSE for more information.

Get in Touch

Email: [email protected]

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptcssdesign-to-codefigma-pluginhtml

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架