Thermally reversible hydrogels via intramolecular folding and consequent self-assembly of a de novo designed peptide.