Check out example codes for "leantween move ui". It will help you in understanding the concepts better.

Code Example 1

LeanTween.move(gameObject.GetComponent<RectTransform>(), new Vector3(200f,-100f,0f), 1f).setDelay(1f);

Learn ReactJs, React Native from akashmittal.com