Socket
Socket
Sign inDemoInstall

react-icons-weather

Package Overview
Dependencies
8
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-icons-weather

A React component for the weather icons library


Version published
Weekly downloads
142
Maintainers
1
Install size
820 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 20 Feb 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc