{"repo":"nygardk/react-share","free":true,"listed":false,"github":"https://github.com/nygardk/react-share","clone":"git clone https://github.com/nygardk/react-share.git","description":"Social media share buttons and share counts for React","language":"TypeScript","stars":2811,"topics":["react","react-component","social-media","share-counts","sharing"],"license":"MIT","category":"ui-components","readme_excerpt":"react-share Social media share buttons and share counts for your React apps. Install Features - no external script loading, i.e. no dependencies on SDKs - supports tree shaking with ES modules - opens a popup share-window - share buttons for: - Bluesky - Email - Facebook - Facebook Messenger - Gab - Hatena - Instapaper - Line - LinkedIn - LiveJournal - Mail.Ru - Odnoklassniki - Pinterest - Pocket - Reddit - Telegram - Threads - Tumblr - Viber - VK - Weibo - Whatsapp - Workplace - X - share counts (deprecated) - social media icons included in the library - supports also custom icons Demo - Deployed demo (from ./demo ) - Locally: clone the repository and run npm install && npm run demo . React compatibility Version Compatible React versions ------- ----------------------------- 5 17 , 18 , 19 4 ^16.3 , 17 , 18 3.0.1 ^16.3. 3 15 , 16 2 15 , 16 1 0.13.x , 0.14.x , 15.x.x . API Share buttons All share buttons render a native element and pass through standard button attributes such as aria-label , aria-labelledby , aria-describedby , name , and data- . Buttons and icons are separate named exports. Import only the components you use to keep tree shaking effective, and pass any custom element as children if you want to use your own icon set instead of the bundled icons. Icon-only buttons need an accessible name. Pass aria-label or aria-labelledby when you render them in your app. htmlTitle only sets the native tooltip/title attribute and is not used as the button's accessible name. S","default_branch":null,"files":null,"tree":[],"storefront":"/r/nygardk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nygardk/react-share/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}