Conventional curved lenses, which direct light by refraction in glass or plastic, are often bulky and heavy, offering only limited control of light waves. Metasurfaces, in contrast, are flat and consist of an array of tiny structures known as meta-atoms. Meta-atoms influence light at a subwavelength scale and thus allow for highly precise control of the phase, amplitude, and polarization of light.