Abstract
Merocyanines are classic π-conjugated systems with a significant zwitterionic character and distinct optoelectronic properties. Here, we report the synthesis of the first merocyanine-based C=C-linked COFs through the condensation of N-alkylcollidinium salts with hydroxytrimesic aldehyde. These zwitter-ionic COFs are chemically stable, with a pronounced charge-transfer absorption band to ~850 nm. Strong dipolar interactions within the COFs result in pore contrac-tion/expansion in response to the medium polarity, manifested in a macroscopic expansion and an increased surface area in high dielectric constant medium. The COFs can reversibly transition between a black neutral and a yellow cationic form upon protonation. Density Functional Theory calculations suggest an ‘omni-directional’ π-conjugation with large band dispersions, despite the trigonal lattice. Thin films of EtMER-COF prepared by heterogeneous nucleation on glass/ITO substrates reveal a vertical orientation of its 2D sheets. Time-resolved spectroscopy of thin film suggests the presence of stimulated emission as well as a long-lived excited state.



![Author ORCID: We display the ORCID iD icon alongside authors names on our website to acknowledge that the ORCiD has been authenticated when entered by the user. To view the users ORCiD record click the icon. [opens in a new tab]](https://www.cambridge.org/engage/assets/public/coe/logo/orcid.png)