Skip to content
HN On Hacker News ↗

ElementaryUI - Swift, in the browser.

▲ 131 points • 37 comments • by frizlab • 7d ago • HN discussion ↗

Pangram verdict · v3.3

We believe that this entire text is human-written.

0 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 134
PEAK AI % 0% · §1
Analyzed
Oct 29
backend: pangram/v3.3
Segments scanned
1 windows
avg 134 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 134 words · 1 segments analyzed

Human AI-generated
§1 Human · 0%

Skip to contentElementaryUISwift, in the browser.🌐Run declarative Swift applications natively in the browser with WebAssembly🎨SwiftUI-inspired APIsFamiliar and intuitive syntax for building web UIs💫Built-in ReactivityAutomatic state management with @State, @Environment, and @Reactive📦Tiny BinariesFull Embedded Swift support means kB-sized wasm bundles instead of MB✨Magical AnimationsPowerful CSS-based animation system including automatic FLIP transitions🚀Vite-Powered DevelopmentFast dev server with hot reload for rapid iterationswift@View struct LoveCounter { @State var count = 1 var body: some View { p { String(repeating: "❤", count: count) } if count < 10 { button { "More Love" } .onClick { count += 1 } } else { p { "Enough love for you!" } button { "Less Love" } .onClick { count = 1 } } } }Thank you to everyone supporting this open‑source project financially. Please consider joining them by sponsoring ElementaryUI.