https://github.com/israeldcastro/share-button-links-react
Share buttons links for websites, blogs and more.
https://github.com/israeldcastro/share-button-links-react
buttons css links react react-components reactjs sass scss shared sharelinks tailwindcss url
Last synced: 10 months ago
JSON representation
Share buttons links for websites, blogs and more.
- Host: GitHub
- URL: https://github.com/israeldcastro/share-button-links-react
- Owner: IsraelDCastro
- Created: 2022-03-02T16:01:25.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-25T03:53:08.000Z (over 2 years ago)
- Last Synced: 2024-10-28T04:19:08.779Z (over 1 year ago)
- Topics: buttons, css, links, react, react-components, reactjs, sass, scss, shared, sharelinks, tailwindcss, url
- Language: TypeScript
- Homepage: https://share-button-links-react-docs.vercel.app/
- Size: 536 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Share Button Links - React
## Installation
You can install using `npm install share-button-links-react` or `yarn add share-button-links-react`.
## Usage
### Buttons
Import button components: `import { ButtonFacebook } from 'share-button-links-react/components/buttons';`
All options: `ButtonCopy, ButtonEmail, ButtonFacebook, ButtonLinkedIn, ButtonPinterest, ButtonPocket, ButtonReddit, ButtonTumblr, ButtonTwitter, and ButtonWhatsapp`.
### Icon Buttons
Import icon button components: `import { FacebookIcon } from 'share-button-links-react/components/icons';`
All options: `FacebookIcon, WhatsappIcon, TelegramIcon, TwitterIcon, LinkedInIcon, RedditIcon, PinterestIcon, TumblrIcon, PocketIcon, EmailIcon, CopyIcon`.
### Button Group
Import button group component: `import ButtonGroup from 'share-button-links-react/components/button-group';`
All options: `facebookIcon, whatsappIcon, telegramIcon, twitterIcon, linkedInIcon, redditIcon, pinterestIcon, tumblrIcon, pocketIcon, emailIcon, and copyIcon`.
### Import CSS/SCSS
To import the CSS or SCSS just add: `@import 'share-button-links-react/main.css';` or `@import 'share-button-links-react/main.scss';`.
### [Click to see documentation](https://share-button-links-react-docs.vercel.app/)