A few switches to navigate through one panel's tabs

  • is there any way to make it shorter in terms of script and settings ?... Because i'll need more than three switches...

You can get a grid layout with only one switch, so that would simplify it. No need for variables or anything here, linkId does the job:
switches.json (9.3 KB)