Switching supramolecular polymeric materials with multiple length scales