🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

react-icons-weather

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-icons-weather

A React component for the weather icons library

1.0.5
latest
78

Supply Chain Security

100

Vulnerability

83

Quality

76

Maintenance

100

License

Version published
Weekly downloads
287
34.74%
Maintainers
1
Weekly downloads
 
Created

React Weather icons :partly_sunny:

Weather icons meant for use with the OpenWeatherMap, Yahoo and DarkSky API.

Note: Includes font icons from the weather icons set.

Install

npm install react-icons-weather

Usage

import React from 'react';
import WeatherIcon from 'react-icons-weather';

const WeatherComponent = (props) => {
  return (
    <div>
      <WeatherIcon name="owm" iconId="200" flip="horizontal" rotate="90" />
    </div>
  )
}
APInameiconId (Weather condition codes)
Open Weather Map'owm'Refer to doc
Yahoo'yahoo'Refer to doc
Dark Sky (previously forecast.io)'darksky'Refer to doc

Features

  • Flip: horizontal, vertical
  • Rotate: 90, 180, 270
  • Fixed Width

TODO

-[ ] animate icons -[ ] icons for general use

FAQs

Package last updated on 20 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts