Superconducting nanowire single-photon detectors (SNSPDs) have been widely used in various applications requiring single photon detection thanks to their attractive performances. Since SNSPDs are thin films of serval nanometers in thickness, they are convenient to fabricate on various substrates and combine with other photonic structures.