A new material could bridge the gap between optics and electronics.