button-share Demo
Your browser does not support navigator.share().
Check the supported environment with Can I use....
<button type="button" class="js-button-share">Share</button>
* The title is obtained from document.title and the url is obtained from document.URL. The
text will be an empty string.
data-share-title, data-share-text, data-share-url attribute<button type="button" class="js-button-share" data-share-text="Message text" data-share-title="Page title" data-share-url="http://example.com/path/to">Share</button>