copyforjs Simple copy to clipboard for javascript, Compatible with all browsers and mobile browsers import { copyToClipboard } from 'copyforjs'; copyToClipboard('string');