# Introduction (https://crow.build/docs)

**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.

<Callout title="Android-Native & Greenfield" type="info">
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.
</Callout>

## Why Crow? [#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 [#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):

| Benchmark | Crow | Jetpack Compose | Ratio |
| --- | --- | --- | --- |
| **E1** · Create 1,000-row feed | **76.5 ms** | 489.8 ms | **0.16×** (6.4× faster) |
| **E1** · Update 1 of 1,000 rows | **3.0 ms** | 89.3 ms | **0.03×** (29.8× faster) |
| **E1** · Retained Java heap | **1.31 MB** | 20.65 MB | **0.06×** (15.8× less) |
| **E1** · GC pauses during mount | **0 / 25** | 25 / 25 | **Zero GC** |
| **Pokédex** · Cold start (TTID) | **394 ms** | 462.5 ms | **0.85×** |
| **Pokédex** · Median scroll jank (120 Hz) | **0.39%** | 0.88% | **0.44×** (matches Views) |
| **E2** · App DEX size (35% dynamic) | **270 KB** | 340 KB | **0.79×** |

See [Benchmarks & Methodology](/docs/guides/benchmarks) for full tables, caveats, and reproduction commands.

## Explore the Documentation [#explore-the-documentation]

<Cards>
<Card title="Installation & Setup" description="Configure crow.jsonc or Gradle, the K2 compiler plugin, and Crow modules." href="/docs/installation" />

<Card title="5-Minute Quickstart" description="Build an interactive @CrowApp screen with signals, derived state, and saved()." href="/docs/quickstart" />

<Card title="Coming from Jetpack Compose" description="Mental model guide and side-by-side API mapping for Compose developers." href="/docs/from-compose" />

<Card title="Signals & Reactivity" description="Deep dive into signal, by { }, effect, owners, lanes, and compiler diagnostics." href="/docs/core/reactivity" />

<Card title="File-Based Routing" description="Type-safe folder routes, tabs, sheets, guards, and predictive back." href="/docs/stack/routing" />

<Card title="Design Systems: Material 3 & Lens" description="Use Material 3, Lens Liquid Glass, or build your own design system on Crow's unstyled bases." href="/docs/design-systems/lens" />
</Cards>