A peptidomimetic compound containing leucine, tyrosine and malonic acid self-assembles through various noncovalent interactions to form spider silk-like fibers at ambient temperature. From the high-density liquid, a liquid–solid phase transition is initiated at 20 °C and solidification occurs upon contact with air. The fiber has comprehensive mechanical strength and optical properties similar to spider silk, and can be used to mimic a natural spider web.