Check out example codes for "ionic skeleton". It will help you in understanding the concepts better.

Code Example 1

<ion-skeleton-text animated style="width: 60%"></ion-skeleton-text>
<ion-skeleton-text animated></ion-skeleton-text>

Learn ReactJs, React Native from akashmittal.com