svg social icons in react
JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
scripts
src
test
.babelrc
.eslintrc
.gitignore
.npmignore
CHANGELOG.md
LICENSE.md
README.md
karma.conf.js
package.json
webpack.config.js

README.md

react-social-icons

A set of beautiful svg social icons. Easily used in React. No images or external css dependencies. Svg paths provided by Squarespace.

social network icons

Install

npm install 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/jaketrent" />, document.body);

See more usage options on the example site.