The neutral hydrogen distribution in large-scale haloes from 21-cm intensity maps