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

Code Example 1

<ion-fab vertical="top" horizontal="end" slot="fixed">
    <ion-fab-button>
      <ion-icon name="add"></ion-icon>
    </ion-fab-button>
  </ion-fab>

Learn ReactJs, React Native from akashmittal.com