Skip to content

What's New in 1.0 (Compose)

Oscar Adame Vazquez edited this page Jan 14, 2022 · 11 revisions

ConstraintLayout-compose 1.0 provides an implementation of ConstraintLayout & MotionLayout in Compose.

Constraints can be created either via a Kotlin DSL (in modifiers or as a separate ConstraintSet), or via a JSON ConstraintSet.

Various examples can be found in this project

  • See the syntax for ConstraintLayout+JSON here
  • See the syntax for MotionLayout+JSON here
  • MotionLayout is Experimental

New in Compose 1.0.0

First stable release of the Compose version of the library.

MotionLayout API is now experimental and requires opt-in. See the Kotlin documentation to learn how to opt-in.