# Lona/Lona

A tool for defining design systems and using them to generate cross-platform UI code, Sketch files, and other artifacts.

Repository: https://github.com/Lona/Lona
Canonical: https://ross.abutalabs.com/products/lona
Language: Swift
License: MIT
License Family: permissive
Last push: 2023-01-04T21:40:53+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3248, "days_push": 1337, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7539, forks 259 (observed 2026-08-28T04:10:00.635240+00:00)

## What it is
Lona is a collection of tools from Airbnb for defining design systems in a JSON-based component format and generating cross-platform UI code, Sketch files, and other artifacts. It includes Lona Studio, a native macOS GUI for designing components, and Lona Compiler, a CLI for generating Swift and React code.

## Use cases
- generate cross-platform UI code from a design system
- design components visually in a mac app
- export design system to Sketch files
- mock up app screens from existing components
- preview designs with real JSON or API data
- localize and export screenshots automatically

## When to choose
- you maintain a design system shared across iOS and React platforms
- you want a single source of truth for components, colors, and text styles
- you need to generate Swift or React UI code from component definitions

## When to avoid
- you need Android/Kotlin code generation today
- you require well-documented, production-hardened tooling
- you don't work on macOS, since Lona Studio is a Mac app

## Facets
- artifact type: application
- maturity: maintenance
- function: ui-components, gui, cli, developer-tools
- domain: web-development, frontend, cross-platform, developer-tools
- platform: cli
- tags: design-systems, code-generation, sketch, lottie, airbnb, component-format, macos, swift, javascript, react-native

## Member repositories
- Lona/Lona (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:00.635240+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:37:25.672629+00:00, confidence not recorded.
  - readme: https://github.com/Lona/Lona (fetched 2026-08-28T04:10:00.635240+00:00, sha 6a2aa4efc0d0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
