Jetpack Compose is an open-sourceKotlin-baseddeclarative UI framework forAndroid developed byGoogle.[1] The first preview was announced in May 2019,[2] and the framework was made ready forproduction in July 2021.[1]
The first preview of Jetpack Compose was announced at theGoogle I/O conference in May 2019.[2] The developer preview was released in October 2019,[3] and thealpha release took place in August 2020.[4]
Compose entered itsbeta phase in February 2021, with its first production release taking place that July.[5]
Jetpack Compose supportsAndroid 5.0 and later.[6] It uses theKotlin programming language, and provides areactive programming model similar to other UI frameworks such asVue.js andReact Native.[2] Compose is designed to integrate seamlessly with existing Android apps and libraries, allowing developers to gradually migrate their apps to Compose.[5]
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.[1][7] The annotation is used by the Compose compiler to generate the UIboilerplate code.[7]
The 1.0 release introduced Compose Preview, which is built intoAndroid Studio starting with Arctic Fox. It allows composables to be previewed using different configurations without deploying the app to a device.[8]
At the time of Jetpack Compose's 1.0 release, Google said, "There are already over 2,000 apps in thePlay Store using Compose – in fact, the Play Store app itself uses Compose."[1] As of October 2022, 16% of the top 1000 apps on the Play Store included Compose. The apps included those from companies such asAirbnb,Lyft andSquare.[9] In May 2024, this number had grown to 40%.[10]
Compose Multiplatform is a multi-platform UI framework developed byJetBrains and based on Jetpack Compose. It is a port of Jetpack Compose forWindows,macOS,Linux and the web. Version 1.0 alpha was released in August 2021.[1]iOS support was added in May 2023.[14]