Is there a better way to hide a view in a custom Layout other than placing it off-screen?

I have a custom Layout that places a number of labels for a cell footer in a certain way based on the available width that needs to conditionally hide those views that do not entirely fit anymore (based on some priorities I specify).

Currently I simply move the subviews that do not fit anymore off-screen and use clipping to hide them outside the layout, as I did not find an "official" way to hide / exclude a subview from a Layout.

Does anyone know a better / nicer way to do this in SwiftUI?

Is there a better way to hide a view in a custom Layout other than placing it off-screen?
 
 
Q