Any way of having "inline tabs" in ion-content like in the screenshot shown

Hey guys,

is there any way how I could use the tab component inline (in ion-content) - not being push to bottom or top. Please have a look at the attached screenshot. I need this feature, i.g. if the device is an IPad/Tablet and/or Desktop.

Thanks in advance,

You can use ion-segment component with mode=“md”.

1 Like

But I don not want it to be stretched to full width…

You should use ion-segments.
Regarding the width you can control it via CSS

Works perfect - I have a custom class for desktop segments now and the regular style for mobile devices.