Description
react-share is a React library for adding social media share buttons to your app, with share counts as an option. It has no external script loading, so it does not depend on network SDKs from the social networks. The buttons are tree-shakeable ES modules, which means you import only the buttons and icons you use and keep the bundle small. It has share buttons for 22 networks. Clicking a button opens a popup share window instead of navigating away from the page. The library also includes a native share button and helpers for the browser's Web Share API, and it has an opt-in mobile app handoff for selected messaging networks. Icons come in two bundled styles, or you can bring your own. The package is marked with use client, so it works from React Server Components. The README covers installation, a quick start, the supported networks, building share URLs yourself, accessibility, troubleshooting, and compatibility. Version 6 supports React 18 and 19. It suits developers who need share buttons on a website or app without adding third-party scripts. The project is public on GitHub.…
Highlights
- Share buttons for 22 networks
- No external network scripts
- Tree-shakeable ES modules
- Native Web Share API helpers
Ratings & Reviews
No ratings yet
Be the first to rate React Share.
People also visit
React Share FAQ
What is react-share?
A React library for social media share buttons and share counts in your app.
Is it free?
The source is public on GitHub and the listing shows no paid plan. The README's license section is in the repository.
Which React versions are supported?
The README says version 6 supports React 18 and 19.
Does it load third-party scripts?
No. The README says it does not load external scripts or depend on network SDKs.
Does it work with Server Components?
Yes. It is marked with use client, so it works from React Server Components.
Can I bring my own icons?
Yes. Two bundled icon styles are available, and you can use your own.
What are the best React Share alternatives?
Popular alternatives to React Share include SimpleSharingButtons and AddToAny: Share Anywhere. See all React Share alternatives













