Аннотация:The effect of complexation with crown compounds and cucurbiturils on the photochemical behavior of styryl, bis-styryl, and butadienyl dyes containing various heterocyclic residues and N-substituents was studied by electronic and NMR spectroscopy and X-ray analysis. In solutions, these dyes and macrocyclic compounds are capable of undergoing self-assembly into highly stable dimeric, pseudodimeric, sandwich, bis-sandwich, pseudosandwich, bis-pseudosandwich, and bi- and trimolecular pseudorotaxane complexes. In these supramolecular complexes, the dye molecules can undergo two competing photoreactions: stereoselective [2 + 2]-cycloaddition to form cyclobutane and geometrical trans-cis-isomerization. The path of the photochemical transformation of the unsaturated dye and the quantum yields of the competing photoreactions can be controlled by selectively modifying the N-substituent containing a terminal functional group. The potential applications of these studies are considered and a new strategy for the design of materials for nanophotonics is suggested.