tachyons-react-social-icons
v2.8.4
Published
Beautiful, easy svg social icons in React with Tacyhons. No inline styles. AMP compliant.
Downloads
5
Readme
tachyons-react-social-icons
A set of beautiful svg social icons. Easily used in React. Uses Tacyhons classes for styling. No inline styles.No images. AMP compliant.
Svg paths provided by Squarespace.
Install
npm install tachyons-react-social-icons --save-dev
Usage
Pass in the url
prop of your social network, and the icon will be rendered.
import React from 'react';
import ReactDOM from 'react-dom';
import { SocialIcon } from 'react-social-icons';
ReactDOM.render(<SocialIcon url="http://twitter.com/misscs" />, document.body);
See more usage options on the example site.
Rebuild Examples
git checkout gh-pages
git rebase master
sh scripts/gen-gh-pages.sh