A highly porous form of Mg(BH4)2 (see picture; Mg green, BH4 blue, unit cells shown in red) reversibly absorbs H2, N2, and CH2Cl2. At high pressures, this material transforms into an interpenetrated framework that has 79 % higher density than the other polymorphs. Mg(BH4)2 can act as a coordination polymer that has many similarities to metal–organic frameworks