# anvil-ui/anvil

Minimal UI library for Android inspired by React

Repository: https://github.com/anvil-ui/anvil
Canonical: https://ross.abutalabs.com/products/anvil
Language: Java
License: MIT
License Family: permissive
Topics: android, react, java, xml-layout, kotlin, anvil
Last push: 2021-05-29T00:26:13+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": 4248, "days_push": 1923, "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 1436, forks 89 (observed 2026-08-28T04:04:43.672887+00:00)

## What it is
Anvil is a small Java/Kotlin library for building reactive Android UIs declaratively, inspired by React's render model. Views are updated lazily via a virtual-view diff, making it suitable as the view layer for MVVM or Redux patterns.

## Use cases
- build android ui declaratively in java
- reactive views for android without xml boilerplate
- use react-style rendering on android
- bind data to android views automatically
- write android layouts in kotlin dsl
- mvvm view layer for android

## When to choose
- you want a tiny, reflection-free declarative UI layer for Android views
- you prefer React-style render functions over XML layouts and findViewById
- you need Java 6 compatibility or Kotlin-friendly DSL

## When to avoid
- you use Jetpack Compose, which is the modern standard for declarative Android UI
- you need a maintained library - the last release was in 2021
- you build cross-platform apps rather than native Android views

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, frontend-framework, state-management
- domain: mobile-development, android-tools, frontend
- platform: jvm
- tags: reactive-ui, declarative-ui, virtual-dom, mvvm, xml-layouts, android

## Member repositories
- anvil-ui/anvil (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:43.672887+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-30T04:36:46.594852+00:00, confidence not recorded.
  - readme: https://github.com/anvil-ui/anvil (fetched 2026-08-28T04:04:43.672887+00:00, sha 4e7d746985f6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
