Bartender is an award-winning app for macOS that for more than 10 years has superpowered your menu bar, giving you total control over your menu bar items, what's displayed, and when, with menu bar items only showing when you need them.
Gives me more space to put my menu items when I upgraded to a laptop with a notch. While its base feature is a necessity for me, I unfortunately don't need/use the extra features.