A composite material that is reversibly switchable between a first form and a second form, said composite material comprising a solid and solid-supported switchable moiety attached to said solid via a linker, wherein the attachment to said solid does not comprise a Si—O—Si or S—Au bond, the switchable moiety comprising a functional group that is switchable between a neutral form associated with said first form of said composite material, and an ionized form associated with said second form of the composite material, wherein the linker is not a polyamine, and wherein the bulk properties of the solid are not modified when the composite material switches between the first form and second form, wherein the solid is a polymeric material, a silica-based material that is glass, mesoporous silica or silica gel, each of which is optionally substituted or functionalized, or a semi-metallic material, or a metallic composite material.