Integrating multi-stimuli response properties in one molecule is challenging. This study presents two 2D polymers, [(Bpydp)Ln(H2O)(BDC)]·NO3·2H₂O (Ln = Eu(1), Tb(2)), exhibiting rapid photo-responsiveness and the ability to detect specific small-molecule...