Shrinking conventional optical systems to chip-scale dimensions will benefit custom applications in imaging, displaying, sensing, spectroscopy, and metrology. Towards this goal, metasurfaces — planar arrays of subwavelength electromagnetic structures that collectively mimic the functionality of