Solid solutions can provide control over the properties of crystalline materials, which can be challenging to influence. Here, the authors show that the method can be used with organic photomechanical crystals to prepare flexible structures with properties changing along a gradient.