Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 665 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 665 Bytes

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.