Aligned carbon nanotube film enables thermally induced state transformations in layered polymeric materials.