The rational design of covalent organic frameworks (COFs) with hydrochromic properties is of significant value because of the facile and rapid detection of water in diverse fields. In this report. we present a thiazole-linked COF (TZ-COF-6) sensor with a large surface area. ultrahigh stability. https://www.duospiritalis.com/