How to make sliding effect in tab routing?

As title stated, how to implement the sliding effect in routing of pages on tab when sliding towards left or right?

Thank you.

I’m using ionic 5.