Jetpack Compose
| Jetpack Compose | |
|---|---|
Official Jetpack Compose hexagonal 3D cube logo | |
| Developer | |
| Release | July 2021 |
| Stable release | 1.10.6
/ March 25, 2026 |
| Written in | Kotlin |
| Operating system | Android |
| Available in | English |
| Type | Library |
| License | Apache |
| Website | developer |
| Repository | |
Jetpack Compose is an open-source reactive user interface (UI) framework developed by Google for cross-platform software development in Kotlin. The first preview was announced in May 2019, and the framework was made ready for production in July 2021.
In Compose, a user interface is defined using functions that have been annotated with the @Composable annotation, which are known as composable functions and define the screen's state. Jetpack Compose uses a Kotlin compiler plugin to transform composable functions into UI elements. For example, the following code defines a simple UI element:
@Composable
fun Greeting(name: String) {
Text(text = "Hello $name")
}