# moreSwift/swift-cross-ui

A cross-platform declarative UI framework, inspired by SwiftUI.

Repository: https://github.com/moreSwift/swift-cross-ui
Canonical: https://ross.abutalabs.com/products/swift-cross-ui
Homepage: https://swiftcrossui.dev
Language: Swift
License: MIT
License Family: permissive
Topics: linux, swift, windows, macos, open-source, declarative-ui, gtk, appkit, ios, uikit, winui3
Last push: 2026-08-21T06:28:18+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 98, longevity 100
- inputs: {"age_days": 1697, "days_push": 12, "days_rel": 14, "gap_med": 19, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1731, forks 90 (observed 2026-08-28T04:05:28.714284+00:00)

## What it is
SwiftCrossUI is a cross-platform declarative UI framework for Swift, inspired by SwiftUI's API and design. It lets developers build native apps for macOS, Linux, Windows, and iOS from a single Swift codebase using pluggable backends like AppKit, GTK, UIKit, and WinUI3.

## Use cases
- build a cross-platform desktop app in Swift
- write a SwiftUI-like app that runs on Linux and Windows
- share one UI codebase across macOS, Windows, and iOS
- create native GUI apps without learning each platform's toolkit
- prototype a Swift GUI app quickly with a declarative syntax

## When to choose
- you know Swift and SwiftUI and want to target non-Apple platforms
- you want native UI widgets rather than a web-based or custom-rendered UI
- you're building a small-to-medium app and value a single declarative codebase

## When to avoid
- you need a fully mature, production-hardened UI framework with extensive documentation
- you need pixel-perfect SwiftUI API compatibility or Apple-only features
- you're targeting Android or the web

## Facets
- artifact type: framework
- maturity: active
- function: ui-components, frontend-framework, state-management
- domain: cross-platform, desktop-applications, mobile-development, web-development
- platform: windows, cross-platform
- tags: swiftui-inspired, declarative-ui, gtk-backend, appkit, uikit, winui3, native-ui, macos, linux, ios, swift

## Member repositories
- moreSwift/swift-cross-ui (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.714284+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-30T03:31:43.303396+00:00, confidence not recorded.
  - readme: https://github.com/moreSwift/swift-cross-ui (fetched 2026-08-28T04:05:28.714284+00:00, sha a0963d40be91)
  - homepage: https://swiftcrossui.dev (fetched 2026-08-29T11:08:31.516227+00:00, sha 7d89600ed944)
  - site_page: https://docs.swiftcrossui.dev/documentation/swiftcrossui (fetched 2026-08-29T11:08:31.525116+00:00, sha e1686f36e46c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
