To understand mesoscopic scaling in networks, we study the hierarchical configuration model (HCM), a random graph model with community structure. Connections between communities are formed as in a configuration model. We study the component sizes of HCM at criticality, and we study critical bond percolation. We find the conditions on the community sizes such that the critical component sizes of HCM behave similarly as in the configuration model. We show that the ordered components of a critical HCM on [Formula presented] vertices are [Formula presented]. More specifically, the rescaled component sizes converge to the excursions of a Brownian motion with parabolic drift.