talira

Write UI components once in JSX and compile them to React, Vue, Angular, Svelte, Qwik and more

open sourceMITfree

Mitosis is Builder.io's MIT-licensed open source tool that compiles UI components written once in JSX into native components for Angular, React, Qwik, Vue, Svelte, Solid and React Native, and into Lit, Stencil or plain web components. Teams use it to keep one design system across several frameworks, build cross-framework SDKs, and sync design systems from Figma to code and publish them to npm. It compiles to each framework's own code rather than shipping web components, so the output renders on the server and works with each framework's features. It has a CLI and an online playground.

Problems it solves

  • share one component library between React and Vue apps without rewriting it
  • a design system that works in every frontend framework
  • publish a UI SDK for several frameworks from one codebase

Features

  • compiles JSX components to React, Vue, Angular, Svelte, Qwik, Solid and React Native
  • outputs Lit, Stencil or plain web components
  • Figma-to-code sync for design systems
  • CLI and online playground