angular-clipboard Copy a text string from an input element. The solution is not limited to Angular. Demo Please try this demo in different devices/browsers. If you want to play with the code directly, then you can use the StackBlitz Demo Medium Article