Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Mitosis

mitosis.builder.io

  • Free plan
  • Web
  • API

What Mitosis is

Mitosis is a free, open-source tool that transforms JSX components into components for multiple frameworks. It parses a static subset of JSX into a JSON structure, then serializes that structure for selected targets. Listed outputs include Angular, React, Qwik, Vue, Svelte, Solid, React Native, Swift, Lit, Stencil, and raw web components. The project describes shared design systems, npm publishing, and cross-framework SDKs as uses. Components can hold state with useStore or useState hooks and update when state changes. Styling can use a css prop or imported CSS files. JavaScript libraries are supported, but framework-specific libraries cannot be used directly in framework-agnostic Mitosis code; per-framework overrides provide alternate implementations. The CLI offers mitosis compile for one component and target, and mitosis build for projects or folders. A mitosis.config.js file sets targets, output, files, exclusions, and generator options. The quickstart initially offers React, Svelte, and Qwik outputs. Builder.io, Inc. is identified in the documentation footer.

Who it suits

It suits developers maintaining shared component systems or publishing cross-framework packages. It is also useful for teams compiling JSX into several listed framework and web-component targets.

Good to know, and what to watch

  • Open-source and free
  • Many framework output targets
  • CLI for single components or projects
  • Configurable compilation targets
  • State hooks and styling support
  • Parses only a static JSX subset
  • Framework-specific libraries need overrides
  • Quickstart initially offers three outputs
  • No syntax-version conversion

The verdict

Mitosis is aimed at sharing JSX-based components across varied output ecosystems. Its broad target list and CLI are useful, but framework-specific code requires overrides and the quickstart has a narrower initial selection.

What the maker publishes

Build tools
The CLI provides mitosis compile for compiling one component to one target and mitosis build for building project folders for configured targets. source
CLI
The CLI provides `mitosis build` for projects or folders and `mitosis compile` for compiling one component file to one target. source
Configuration
A `mitosis.config.js` file can specify compilation targets, output directory, files, exclusions, and generator options. source
Custom targets
The configuration documentation lists targets including React Native, Swift, HTML, Vue, React, Svelte, Solid, and Qwik. source
Developer support
The documentation links to a Mitosis community Discord for questions and participation. source
Figma integration
Mitosis works with Builder.io Fusion to turn selected Figma layers into code that can be adapted to selected frameworks. source
Figma integration
Mitosis integrates with Figma to sync design systems from Figma to code. source
Framework outputs
The overview lists Angular, React, Qwik, Vue, Svelte, Solid, and React Native as supported outputs. source
Framework-specific overrides
The documentation describes using per-framework overrides to provide different implementations when a framework-specific library or feature is needed. source
Getting started
The quickstart creates a project with `npm create @builder.io/mitosis@latest` and initially offers React, Svelte, and Qwik output selections. source
How it works
Mitosis parses a static subset of JSX into a JSON structure that can be serialized into different frameworks. source
How it works
Mitosis parses a static subset of JSX into an intermediate JSON structure that can be serialized into different frameworks. source
Intended use
The overview describes maintaining a shared design system across frameworks, publishing it to npm, and building cross-framework SDKs as use cases. source
JavaScript libraries
Mitosis components can use JavaScript libraries, but framework-specific libraries cannot be used directly in framework-agnostic Mitosis code. source
Key features
Mitosis components can use state through the useStore or useState hooks, and components update when state changes. source
Maker
The Mitosis documentation footer identifies Builder.io, Inc. source
Notable limitation
The quickstart says its project setup currently supports selecting React, Svelte, and Qwik outputs. source
Output targets
The quickstart lists targets including React, Vue, Angular, Svelte, Qwik, React Native, Swift, Lit, and Web Components. source
Purpose
Mitosis is an open-source tool that transforms JSX components into components for multiple frameworks. source
Styling
Components can use a css prop for styling or import CSS files. source
Support and community
The Mitosis site links to a community Discord. source
Web component outputs
Mitosis can generate Lit, Stencil, and raw web components. source
What it does
Mitosis transforms JSX components into components for multiple frameworks. source

Checked against the maker's pages on 5 Oct 2026.