# facebook/litho

A declarative framework for building efficient UIs on Android.

Repository: https://github.com/facebook/litho
Canonical: https://ross.abutalabs.com/products/litho
Homepage: https://fblitho.com
Language: Kotlin
License: Apache-2.0
License Family: permissive
Last push: 2026-08-24T00:02:57+00:00

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

## Adoption (not part of the score)
Stars 7777, forks 763 (observed 2026-08-28T04:10:04.925501+00:00)

## What it is
Litho is a declarative UI framework from Facebook for building efficient Android user interfaces using immutable components and a functional render API. It optimizes performance through asynchronous layout, view hierarchy flattening via Yoga, and fine-grained recycling of individual UI elements.

## Use cases
- build efficient scrollable UIs on Android
- declarative UI framework for Android apps
- reduce view hierarchy depth for better scroll performance
- recycle individual UI components in long lists
- build complex RecyclerView-based feeds
- measure and layout UI off the main thread

## When to choose
- building complex, highly-optimized scrollable Android UIs like feeds or timelines
- you need asynchronous layout and fine-grained recycling for performance
- your team prefers a declarative, React-like component model on Android

## When to avoid
- building simple Android apps where Jetpack Compose or standard Views suffice
- you want a large community ecosystem and frequent third-party libraries
- your team works primarily in Java with the legacy Spec API and wants modern Kotlin-first tooling

## Facets
- artifact type: framework
- maturity: active
- function: ui-components, frontend-framework, animation
- domain: mobile-development, frontend, cross-platform
- platform: jvm
- tags: declarative-ui, android-ui, yoga-layout, view-flattening, asynchronous-layout, recyclerview, facebook, android

## Member repositories
- facebook/litho (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:04.925501+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-29T17:34:57.946798+00:00, confidence not recorded.
  - readme: https://github.com/facebook/litho (fetched 2026-08-28T04:10:04.925501+00:00, sha 9e924493883f)
  - homepage: https://fblitho.com (fetched 2026-08-29T08:31:11.732184+00:00, sha f7630bb890ad)
  - site_page: https://fblitho.com/docs/mainconcepts/components-basics (fetched 2026-08-29T08:31:11.735216+00:00, sha 40c8ff7a0e85)
  - site_page: https://fblitho.com/docs/tutorial/overview (fetched 2026-08-29T08:31:11.737692+00:00, sha b3d6791b1f2d)
  - site_page: https://fblitho.com/docs/intro (fetched 2026-08-29T08:31:11.739798+00:00, sha c4462059fdda)
  - site_page: https://fblitho.com/docs/getting-started (fetched 2026-08-29T08:31:11.741933+00:00, sha f1d01a884f04)
  - site_page: https://fblitho.com/docs/contributing (fetched 2026-08-29T08:31:11.744150+00:00, sha b51ca0ea53d4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
