Material Motion Exploring solutions that will empower creators with the tools needed to describe and implement rich, interactive motion on any platform. Edit this page · History
ReactiveProperty Property names
Status Library
Draft as of December 4, 2016 material-motion

Property names specification

This is the engineering specification for the names of reactive properties in Material Motion.


The following tables correlate the reactive property names on each platform with the terms we use in the Starmap.

Names for element properties

Starmap Android View iOS UIView CSS
backgroundColor   view.backgroundColor background-color
width   view.bounds.width width
height   view.bounds.height height
cornerRadius   view.layer.cornerRadius border-radius
opacity   view.alpha opacity
position relative to parent (view.X, view.Y) view.layer.position translate()
positionX relative to parent view.X view.layer.position.x translateX()
positionY relative to parent view.Y view.layer.position.y translateY()
rotation     rotate()
scale     scale()