npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-yr-weather-icons

v1.1.9

Published

A React library providing weather icons based on the Yr.no weather service

Readme

React Yr Weather Icons

Easily use Yr weather icons in your React application. All light and dark variants are available as TypeScript-ready React components.

Installation

npm i react-yr-weather-icons

Example usage

import { YrWeatherIcon } from "react-yr-weather-icons";

function YourApp() {
  return <YrWeatherIcon symbolCode="clearsky_day" />;
}

Main properties

| Key | Default | Notes | | ------------ | ------- | ------------------------------------------------------------------------ | | symbolCode | | Use any symbol code from Yr, example: clearsky_day or clearsky_night | | mode | light | The mode of the icons, example: light or dark | | size | 40 | | | className | | | | title | | | | titleId | | |

All standard SVG properties except width and height are also supported. Use size instead of width and height.

Symbol codes

clearsky_day
clearsky_night
clearsky_polartwilight
cloudy
fair_day
fair_night
fair_polartwilight
fog
heavyrain
heavyrainandthunder
heavyrainshowers_day
heavyrainshowers_night
heavyrainshowers_polartwilight
heavyrainshowersandthunder_day
heavyrainshowersandthunder_night
heavyrainshowersandthunder_polartwilight
heavysleet
heavysleetandthunder
heavysleetshowers_day
heavysleetshowers_night
heavysleetshowers_polartwilight
heavysleetshowersandthunder_day
heavysleetshowersandthunder_night
heavysleetshowersandthunder_polartwilight
heavysnow
heavysnowandthunder
heavysnowshowers_day
heavysnowshowers_night
heavysnowshowers_polartwilight
heavysnowshowersandthunder_day
heavysnowshowersandthunder_night
heavysnowshowersandthunder_polartwilight
lightrain
lightrainandthunder
lightrainshowers_day
lightrainshowers_night
lightrainshowers_polartwilight
lightrainshowersandthunder_day
lightrainshowersandthunder_night
lightrainshowersandthunder_polartwilight
lightsleet
lightsleetandthunder
lightsleetshowers_day
lightsleetshowers_night
lightsleetshowers_polartwilight
lightsnow
lightsnowandthunder
lightsnowshowers_day
lightsnowshowers_night
lightsnowshowers_polartwilight
lightssleetshowersandthunder_day
lightssleetshowersandthunder_night
lightssleetshowersandthunder_polartwilight
lightssnowshowersandthunder_day
lightssnowshowersandthunder_night
lightssnowshowersandthunder_polartwilight
partlycloudy_day
partlycloudy_night
partlycloudy_polartwilight
rain
rainandthunder
rainshowers_day
rainshowers_night
rainshowers_polartwilight
rainshowersandthunder_day
rainshowersandthunder_night
rainshowersandthunder_polartwilight
sleet
sleetandthunder
sleetshowers_day
sleetshowers_night
sleetshowers_polartwilight
sleetshowersandthunder_day
sleetshowersandthunder_night
sleetshowersandthunder_polartwilight
snow
snowandthunder
snowshowers_day
snowshowers_night
snowshowers_polartwilight
snowshowersandthunder_day
snowshowersandthunder_night
snowshowersandthunder_polartwilight

Yr Weather Symbols

Licence

MIT

  • All SVGs are provided by Yr and are licensed by the "Yr weather symbols © 2015 by Yr/NRK is licensed under Attribution 4.0 International"