Rackmount for UniFi Gateway Max (UXG-Max).
As the dimensions are identical, it will also work for the Unifi Cloud Gateway Ultra (UCG-Ultra), but you won't see the display.
Ports facing front, works for left and right rack mount (just turn around) 😅
Update: added a 10" rack mount version.