I played around with .frame on the HStack but didn't seem to solve any of the issues. About the not compiling note could you be more specific? If you create a new file and copy/paste the whole code snippet it should compile and run on the latest iOS version at this time (18.2)