Browse by Section

Bright Pixels Monogram

How to Use the Web Share API 

Ayooluwa Isaiah writing for CSS-Tricks:

This approach provides a number of advantages over conventional methods:

  • The user is presented with a wide range of options for sharing content compared to the limited number you might have in your implementation.
  • You can improve your page load times by doing away with third-party scripts from individual social platforms.
  • You don’t need to add a series of buttons for different social media sites and email. A single button is sufficient to trigger the device’s native sharing options.
  • Users can customize their preferred share targets on their own device instead of being limited to just the predefined options.

The Web Share API looks insanely cool and doesn’t look too difficult to implement. I may give this a try sometime this week.