This USB to lightning cable for, among others, the iPhone 7/8, iPhone X, iPad 9.7 2017 etc. is a good replacement if the original cable is defective or lost, or if you are simply looking for an extra USB cable.
The USB Lightning cable can be used in combination with both original and non-original USB chargers.
Suitable for iPhone 5, iPhone 5C, iPhone 5S, iPhone 6 (plus), iPhone 6S (plus), iPhone 7 (plus), iPhone 8 (plus), iPhone X, iPhone XS, iPhone XS Max and iPhone XR.