Best way of creating a selector panel?

Do you use the VST3 WYSIWYG editor? Then you can use the UIViewSwitchContainer.