react-share-lite v1.1.0

React Share Lite

a simple and easy-to-use library for adding social media share buttons to your React & Next applications. With react-share-lite, you can quickly integrate share buttons for popular social media platforms such as Facebook, Twitter, LinkedIn, and more

If you want to add share count functionality to your share buttons in your React, Next.js, or Preact projects built with JavaScript and TypeScript, React-share-kit is the solution. It seamlessly enhances your applications, allowing users to easily track the popularity of your content.

📕 Global Props

NameTypeDefaultDescriptionRequired
urlnullThe URL of the shared page.TRUE
titlenullThe title of the shared page.FALSE
windowWidth550Opened window width.FALSE
windowHeight400Opened window height.FALSE
blankTargetfalseOpen share window in a new tab if set to true.FALSE
bgColorrelated colorIcon background color.FALSE
roundfalseThe "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance.FALSE
borderRadius0Custom round the share icon.FALSE
size64The share icon size.FALSE
buttonTitlenullThe title of button used instead of icon.FALSE

🚀 Installation

npm i react-share-lite

Or

yarn add react-share-lite