React Share Kit
a simple and easy-to-use library for adding social media share buttons to your React & Next applications. With React-Share-Kit, you can quickly integrate share buttons for popular social media platforms such as Facebook, Twitter, LinkedIn, and more
If package size is mater and you don't need use share count functionality instead of your React.js, Next.js and PReact project build with Javascript and Typescript. React-share-lite is the solution to enhance your application performance.
📕 Global Props
Name | Type | Default | Description | Required |
---|---|---|---|---|
url | null | The URL of the shared page. | TRUE | |
title | null | The title of the shared page. | FALSE | |
windowWidth | 550 | Opened window width. | FALSE | |
windowHeight | 400 | Opened window height. | FALSE | |
blankTarget | false | Open share window in a new tab if set to true. | FALSE | |
bgColor | related color | Icon background color. | FALSE | |
round | false | The "round" attribute creates a fully circular button shape, giving it a 100% rounded appearance. | FALSE | |
borderRadius | 0 | Custom round the share icon. | FALSE | |
size | 64 | The share icon size. | FALSE | |
buttonTitle | null | The title of button used instead of icon. | FALSE |
🚀 Installation
npm i react-share-kit
Or
yarn add react-share-kit