Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

What's New in 1.0 (Compose)

Shane Wong 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
Clone this wiki locally