The enolimine-ketoenamine tautomerism has been utilised to construct 2D covalent organic frameworks (COFs) with a higher level of chemical robustness and superior photoelectronic activity. However, it remains challenging to fully control the tautomeric states and correlate their tautomeric structure-photoelectronic properties due to the mobile equilibrium of proton transfer between two other atoms. We show that symmetry-asymmetry tautomerisation from diiminol to iminol/cis-ketoenamine can be stabilised and switched in a crystalline, porous, and dynamic 3D COF (dynaCOF-301) through concerted structural transformation and host-guest interactions upon removal and adaptive inclusion of various guest molecules. Specifically, the tautomeric dynaCOF-301 is constructed by linking the hydroquinone with a tetrahedral building block through imine linkages to form 7-fold interwoven diamondoid networks with 1D channels. Reversible framework deformation and ordering-disordering transition are determined from solvated to activated and hydrated phases, accompanied by solvatochromic and hydrochromic effects useful for rapid, steady, and visual naked-eye chemosensing.
© 2023. The Author(s).