Skip to Content
CrowCrow

Introduction

Fine-grained, K2-compiled, Android-native UI for Kotlin. Zero recomposition. Zero glue.

Crow is an unapologetically Android-native, fine-grained reactive UI framework and full-stack Kotlin platform built for the AI era. It keeps declarative ergonomics — @Ui functions, Column { }, Modifier chains, composable interaction behaviors — and replaces recomposition underneath with a SolidJS-style signals graph that the Kotlin K2 compiler mostly compiles away.

Components execute once at mount. When state changes, no UI function ever re-runs: the signal notifies the exact render-node property (TextNode.text, RenderNode.alpha, background color, layout constraint) that depends on it.

As the crow flies — a straight line from signal to pixel, with no recomposition in between.

Android-Native & Greenfield

Crow targets Android natively (RenderNode / HWUI, AGSL Liquid Glass, native AccessibilityNodeProvider, zero-AndroidX @CrowApp, and a zero-Gradle crow-build APK pipeline) with 11 pure-JVM core modules for instant host unit tests. Public Maven Central artifacts are coming soon.

Why Crow?

Traditional retained-mode declarative UI engines re-execute component functions on state change and rely on runtime diffing, slot tables, stability annotations, and skipping heuristics to claw back performance.

Crow solves the problem at its root:

  • Zero recomposition by construction — @Ui functions run once to construct your render tree and wire direct bindings. Updating 1 row in a 1,000-row list touches 1 node (3.0 ms vs 89.3 ms in Jetpack Compose on a Snapdragon 695 phone).
  • Compiled away by K2 — crow-compiler lowers local signal() declarations into a single LocalGraph class per component, fuses built-in modifier chains into direct node writes, fuses once-per-instance bindings, and checks for stale reads (CR1001), build-time writes (CR1002), and stored @Ui lambdas (CR1003) at compile time.
  • No ViewModel or AndroidX ceremony — Process-death restoration (var query by saved("")), held async transitions (Loading / Errored / resource), and process-scoped state (@CrowApp(process = AppStore::class)) are built into the reactive core.
  • Building blocks first, design systems on top — Composable building blocks, physics-driven motion, gestures, zero-wiring AGSL Liquid Glass, and crow-style come first. crow-material3 and crow-lens sit strictly on top — and you or your AI agent can build a completely custom design system on the exact same foundation.
  • A complete, zero-glue stack — File-based routing, TanStack-inspired crow-query, crash-safe crow-store, Zod-style crow-schema, perceptual crow-color, analytic crow-motion, crow-media, crow-symbols, crow-guide, crow-build (crow.jsonc zero-AGP APK builds), and delta-DEX Android hot reload.

Measured on Real Hardware

All benchmark claims come from R8-optimized, AOT-compiled (cmd package compile -m speed -f) release builds measured on a Snapdragon 695 phone (Xiaomi 2201116SG, Android 13, 120 Hz):

BenchmarkCrowJetpack ComposeRatio
E1 · Create 1,000-row feed76.5 ms489.8 ms0.16× (6.4× faster)
E1 · Update 1 of 1,000 rows3.0 ms89.3 ms0.03× (29.8× faster)
E1 · Retained Java heap1.31 MB20.65 MB0.06× (15.8× less)
E1 · GC pauses during mount0 / 2525 / 25Zero GC
Pokédex · Cold start (TTID)394 ms462.5 ms0.85×
Pokédex · Median scroll jank (120 Hz)0.39%0.88%0.44× (matches Views)
E2 · App DEX size (35% dynamic)270 KB340 KB0.79×

See Benchmarks & Methodology for full tables, caveats, and reproduction commands.

Explore the Documentation

How is this guide?

On this page