Fabricating chalcogenide glasses as nanowires can extend their use into the visible and ultraviolet parts of the electromagnetic spectrum.