Crystal engineering is a powerful process for assembling complex materials but tends to require organic building blocks, which can limit stability. Here, the authors use inorganic polyoxometalates to assemble an all-inorganic metamorphic framework that can be switched between eight distinct states.