Skip to content

WanderlandTravelers/react-social-icons

 
 

Repository files navigation

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.

Packages

No packages published

Languages

  • JavaScript 94.0%
  • Shell 6.0%