MCPcopy
hub / github.com/BuilderIO/mitosis

github.com/BuilderIO/mitosis @main sqlite

repository ↗ · DeepWiki ↗
1,603 symbols 4,656 edges 758 files 6 documented · 0%
README
<img width="400" alt="Mitosis logo" src="https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F570f689e59824cb78cf5773350ab4144">

Write components once, compile to every framework

code style: prettier PRs Welcome License Types

Overview

Mitosis 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:

PS: We are actively looking for folks interested in becoming contributors to Mitosis. If interested, look at our list of good first issues or reach out on our Discord

Gif example of devloping with Mitosis

Quickstart

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

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 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.

Demo of using Mitosis with Figma

Resources

Contribute

Interested in contribute? Head over to the CONTRIBUTING docs and see how you can get setup & started!

Once you're ready, checkout our issues page and grab your first issue!

     <img width="250" alt="Made with love by Builder.io" src="https://user-images.githubusercontent.com/844291/230786555-a58479e4-75f3-4222-a6eb-74c5af953eac.png">

Extension points exported contracts — how you extend this code

ElementClass (Interface)
(no doc) [1 implementers]
packages/core/jsx-runtime.d.ts
NodeWithParent (Interface)
(no doc)
packages/eslint-plugin/src/types.ts
ProcessEnv (Interface)
(no doc)
packages/fiddle/src/react-app-env.d.ts
QwikCityPlatform (Interface)
(no doc)
packages/docs/src/entry.cloudflare-pages.tsx
ImageProps (Interface)
(no doc)
examples/basic/src/blocks/image.lite.tsx
Entry (Interface)
(no doc)
e2e/e2e-app/e2e-output.ts
HTMLElementTagNameMap (Interface)
(no doc)
e2e/e2e-stencil/components.d.ts
MainProps (Interface)
(no doc)
e2e/e2e-qwikcity/src/routes/[...index]/index.tsx

Core symbols most depended-on inside this repo

push
called by 173
packages/core/src/generators/qwik/src-generator.ts
emit
called by 124
packages/core/src/generators/qwik/src-generator.ts
createSingleBinding
called by 87
packages/core/src/helpers/bindings.ts
builderContentToMitosisComponent
called by 86
packages/core/src/parsers/builder/builder.ts
parseJsx
called by 83
packages/core/src/parsers/jsx/jsx.ts
createMitosisNode
called by 63
packages/core/src/helpers/create-mitosis-node.ts
traverse
called by 59
packages/core/src/parsers/svelte/typescript/index.ts
componentToMitosis
called by 59
packages/core/src/generators/mitosis/generator.ts

Shape

Function 1,315
Interface 236
Method 38
Class 12
Enum 2

Languages

TypeScript100%

Modules by API surface

packages/core/jsx-runtime.d.ts136 symbols
packages/core/src/generators/qwik/src-generator.ts53 symbols
packages/core/src/parsers/builder/builder.ts37 symbols
packages/core/src/generators/builder/generator.ts29 symbols
packages/core/src/generators/angular/signals/plugins/get-code-processor-plugins.ts23 symbols
packages/core/src/plugins/compile-away-builder-components.ts22 symbols
packages/core/src/generators/html/generator.ts19 symbols
packages/core/src/generators/vue/helpers.ts18 symbols
packages/core/src/generators/qwik/component-generator.ts18 symbols
packages/core/src/generators/swift/helpers.ts15 symbols
packages/core/src/__tests__/data/blocks/render-block.raw.tsx14 symbols
packages/core/src/symbols/symbol-processor.ts13 symbols

Dependencies from manifests, versioned

@angular-devkit/build-angular18.2.13 · 1×
@angular/animations18.2.13 · 1×
@angular/cli18.2.13 · 1×
@angular/common18.2.13 · 1×
@angular/compiler11.2.11 · 1×
@angular/compiler-cli18.2.13 · 1×
@angular/core18.2.13 · 1×
@angular/forms18.2.13 · 1×
@angular/platform-browser18.2.13 · 1×
@angular/platform-browser-dynamic18.2.13 · 1×
@babel/core7.14.5 · 1×
@babel/generator7.14.3 · 1×

For agents

$ claude mcp add mitosis \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact