Modulating the amplitude and phase of light is a key ingredient for many of applications such as wavefront shaping, transformation optics, phased arrays, modulators and sensors. Performing this task with high efficiency and small footprint is a major challenge for the development of optoelectronic devices.