登录 注册
电商与营销工具开发者工具 angularbuildercompilerdeclarativefigmajsx
14,463
Stars
677
Forks
96
Watchers
177
Open Issues
MIT
许可证
TypeScript
语言
2020-11-06
创建时间
2026-10-28
最近更新

项目能做什么

跨框架组件工具,一次编写即可编译为 React、Vue、Solid、Svelte 等代码。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<br>
<br>
<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F44413839f214431290930e447572b843">
    <img width="400" alt="Mitosis logo" src="https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F570f689e59824cb78cf5773350ab4144">
  </picture>
</p>

<p align="center">
  Write components once, compile to every framework
</p>

<br>

<p align="center">
  <a href="https://github.com/prettier/prettier"><img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg" /></a>
  <a href="https://github.com/BuilderIO/mitosis/pulls"><img alt="PRs Welcome" src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" /></a>
  <a href="https://github.com/BuilderIO/mitosis/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/BuilderIO/mitosis" /></a>
  <a href="https://www.npmjs.com/package/@builder.io/mitosis"><img alt="Types" src="https://img.shields.io/npm/types/@builder.io/mitosis" /></a>
  <a href="https://www.npmjs.com/package/@builder.io/mitosis" rel="nofollow"><img src="https://img.shields.io/npm/v/@builder.io/mitosis.svg?sanitize=true"></a>
</p>

## Overview

[Mitosis](https://mitosis.builder.io/docs/overview/) provides a unified development experience across all frameworks, enabling you to build components in a single codebase and compile them to React, Vue, Angular, Svelte, Solid, Alpine, Qwik, and more.

Using Mitosis, you can:

- Maintain a consistent design system across multiple frameworks ([example](https://github.com/db-ux-design-system/core-web))
- Sync your [design systems from Figma to code](https://mitosis.builder.io/docs/figma/) and publish them to npm across frameworks
- Avoid the [pitfalls of web components](https://mitosis.builder.io/docs/overview/) by compiling to native framework code

_PS: We are actively looking for folks interested in becoming contributors to Mitosis. If interested, look at our list of [good first issues](https://github.com/BuilderIO/mitosis/contribute) or reach out on our [Discord](https://discord.gg/yxjk5vn6pn)_

![Gif example of devloping with Mitosis](https://cdn.builder.io/api/v1/file/assets%2FYJIGb4i01jvw0SRdL5Bt%2F868af1e6d9fd4923b18ecd1d892f3a6e)

## Quickstart

To create a new Mitosis project from scratch, run the following `create` command:

```bash
npm create @builder.io/mitosis@latest
```

Once completed, make sure to read the `README.md` generated in your new project. It will explain the structure of your project, and provide a walkthrough on how to build/test your components.

Read the full [getting started docs](https://mitosis.builder.io/docs/quickstart/) for more.

### Integration with Figma

To make generating Mitosis components easier, as well as to keep your design system in code in sync with your design system in Figma, Mitosis integrates with Figma.

Learn more about our [Figma integration](https://mitosis.builder.i
阅读完整原文

商业机会分析 AI 生成

Figma 到多框架组件的自动化导出插件与云端协同平台

产品构想基于 Mitosis 编译内核,开发 Figma 插件及云端中转平台,让设计师标注后的组件直接编译为 React/Vue/Svelte 等各技术栈的标准工程代码并提交 PR。
核心功能Figma 图层语义化解析为 Mitosis JSX、多框架实时预览与代码导出、GitHub/GitLab PR 自动化集成、设计 Token 映射
目标用户UI/UX 设计师、多端前端工程师、中小型研发团队
难度/周期中等 · 1-2 个月 · 成本:极低(主要是服务器与 Figma 插件托管成本)
收费模式免费额度 + 订阅制(按导出次数/团队席位收取 SaaS 费用)
竞争风险Figma 复杂图层解析到干净代码的难度高;Builder.io 官方自身已有部分视觉生成能力(推测存在官方竞争风险)
依据 AI推测

跨框架 Headless 设计系统生成与托管分发平台

产品构想针对没有精力分别维护 React/Vue/Angular 组件库的团队,提供基于 Mitosis 的开箱即用无样式/有样式设计系统打包发布方案,一处修改,自动发布各生态 npm 包并生成交互式文档。
核心功能Mitosis 组件库模板、跨框架自动化单元测试运行器、多框架 Storybook/文档自动生成、多端 npm 包一键并行发布
目标用户设计系统工程师、跨技术栈团队技术负责人、跨框架 UI 库作者
难度/周期较高 · 2-3 个月 · 成本:低(CI/CD 与文档静态托管资源)
收费模式私有部署授权、企业版 CI/CD 构建流水线配额按量付费
竞争风险各前端框架新特性(如 React Server Components、Vue 宏语法等)难以完全抹平,编译边界情况(Edge cases)多
依据 数据支持的判断

单框架组件库向多框架跨平台迁移工具与专业服务

产品构想打造逆向/单向转译工具,将既有的 React 或 Vue 组件反向解析为 Mitosis 结构,再拓展到其他框架,并结合工具提供组件库跨技术栈迁移的企业咨询与落地支持。
核心功能React/Vue AST 到 Mitosis AST 转换器、语法兼容性检测报告、代码差异对比工具、批量迁移命令行工具
目标用户正在进行技术栈重构/迁移的中大型企业、需要多框架 SDK 封装的 SaaS 公司
难度/周期高 · 3-4 个月 · 成本:极低
收费模式商业转换工具单次许可付费、技术咨询与定制化迁移服务合同
竞争风险AST 逆向转译复杂,遇到框架特定逻辑(如特定 Hooks、Vue 指令)时自动化率有限,需人工兜底
依据 尚需验证的假设
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
justjavac/free-programming-books-zh_CN 中文介绍暂未生成
:books: 免费的计算机编程类中文书籍,欢迎投稿
119,559 -
angular/angular 中文介绍暂未生成
Deliver web apps with confidence 🚀
101,466 TypeScript
storybookjs/storybook 中文介绍暂未生成
Storybook is the industry standard workshop for building, do
91,521 TypeScript
realworld-apps/realworld 中文介绍暂未生成
"The mother of all demo apps" — Exemplary fullstack Medium.c
84,377 TypeScript
leonardomso/33-js-concepts 中文介绍暂未生成
📜 33 JavaScript concepts every developer should know.
66,524 JavaScript
angular/angular.js 中文介绍暂未生成
AngularJS - HTML enhanced for web apps!
58,434 JavaScript
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2020-11-06,近 30 天仍在推送,发布过 100 个 Release
社区活跃Star 14,463 / Fork 677 / Issue 177(数据支持,可自行核实)
许可证MIT
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/BuilderIO/mitosis.git
cd mitosis
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。