Skip to content
CAI
Produce a survey ↗Verify a survey

Lona/Lona

Lona is a cross-platform UI compiler and design tool that transforms JSON-based component definitions into native code for iOS, macOS, React, and Android. The system provides a desktop IDE for editing components, logic, and styles, alongside a CLI and Webpack loader for automated code generation. It also includes a plugin architecture for exporting to Sketch and GitHub integration for version control.

47.5

Weak · 3 August 2026

59k

lines of production code

Swift

primary language

1

bus factor · 28 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2017–2018 · Lona Studio and Compiler Development

This period focused on the creation of the Lona Compiler and the Lona Studio application, replacing the legacy ComponentStudio. The compiler was expanded to generate code for Swift, JavaScript (React, React Native), and Android XML, while the studio introduced a plugin system, logic editing, and comprehensive UI controls. Extensive test coverage was added for all generated platforms to ensure correctness.

71 changes

2019–2020 · Logic language and studio editor expansion

This period focused on introducing a new Logic language compiler with full type inference and code generation for JavaScript, Swift, and Reason.js. The Lona Studio was significantly enhanced with a comprehensive Logic editor featuring autocompletion, parameter editing, and device presets. Additionally, the project expanded its tooling with a Webpack loader, a React Native to Lona converter, and a Sketch plugin, while establishing robust version control and GraphQL integration.

32 changes

CAI lens gauges

Survey your own repository

Lona/Lona was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 3 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 03733a8c7a — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards