Sequence-encoded material properties dictate the structure and function of nuclear bodies.