npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-social-media-icons

v10.0.4

Published

[REUPLOAD] React JS Package for easy creation and highly customizable Social Media Icons

Downloads

229

Readme

Social Media Icons for React JS

GitHub | NPM | View on Website | Donate The original package by David McQuillan was removed from NPM, evidently for security concerns. I did not write this package - this is simply a sanitized re-upload of the original.

React JS Package for easy creation and highly customizable Social Media Icons.

enter image description here

Example code

Below is an example of a minimal code setup

import React from 'react';
import  ReactDOM  from  'react-dom';
import {ReactSocialMediaIcons} from 'react-social-media-icons';

ReactDOM.render(<ReactSocialMediaIcons borderColor="rgba(0,0,0,0.25)" icon="twitter" iconColor="rgba(255,255,255,1)" backgroundColor="rgba(26,166,233,1)" url="https://some-website.com/my-social-media-url" size="48" />,	document.getElementById('root'));

Props

| Name | Type | Description | Default Value | | --------------- | ------------- | ------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | backgroundColor | Hex/rgba Code | Background Color for the icon | Defaults to standard color for Icon defined using the 'icon' prop | | borderColor | Hex/rgba Code | Border Color for the icon | #FFF | | borderWidth | Number | Border Width for the icon, value range from 0-5 | 0 | | borderStyle | String | Border Style for the icon, solid,dotted,dashed,double,groove,ridge,inset,outset | solid | | icon | String | Social Media Icon to use, see supported list below | undefined | | iconColor | Hex/rgba Code | Color for the icon | #FFF | | iconSize | Number | Size of Icon relative to Background, value range from 0-10 | 5 | | roundness | Number | Border Radius of the Icon, value range from 0-50 | 10 | | size | Number | Size of Icon Background in pixels, value range from 10-100 | 32 | | url | String | Url to go to when Icon is clicked | # |

Available Icons

500px, aboutme, amazon, android, angellist, apple, behance, bookmate, codepen, coub, delicious, deviantart, digg, dribbble, dropbox, ello, envato, etsy, etsy-short, evernote, facebook, favorite, flikr, foursquare, github, googledrive, googleplay, googleplus, instagram, jsfiddle, kickstarter, line, line-icon, linkedin, livejournal, mail, map, medium, messenger, ok, periscope, phone, photobucket, pinterest, pinterest-light, pocket, producthunt, quora, reddit, reddit-light, rss, send, send-light, shopify, sketch, skype, slack, slideshare, snapchat, stackoverflow, stumbleupon, swarm, tripadvisor, tumblr, twitter, upwork, viadeo, vimeo, vk, vscogrid, web, whatsapp, windows, wordpress, xing, yelp, youtube, youtube-play