How to properly use one sidemenu with multiple tabs?

I’ve tried many ways to do that, could someone make a codepen pls?

1 sidemenu have different features and each features might have a different tab.