Skip to content

What's New in 1.0 (Compose)

Nicolas Roard edited this page Jul 23, 2021 · 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.

  • see the syntax for ConstraintLayout+JSON here
  • see the syntax for MotionLayout+JSON here