How can I create tabs using typescript and html?

Hello guys,

How can I create a regular HTML div & typescript tab on Ionic?

I want to have several html tabs at the top of my ionic page.
and I want to each tab to have different contents…

Is there any way? I don’t want to use stock ionic tab which requires several pages. Everything should be done on a single html page.


Try the Segment component:

1 Like

Thanks a lot… this works amazingly well!