Weather Icons is the only icon font and CSS with 222 weather themed icons, ready to be dropped right into Bootstrap, or any project that needs high quality weather, maritime, and meteorological based icons!
Anthing you can do to text, you can do to the icons. Scale, rotate, flip, change color, add shadows... and more!
Weather Icons come with OTF and TTF files, so you can use this page to copy icons and paste them right into your favorite design apps like Photoshop, Illustrator, Sketch!
Easily modify the icon look with built-in utility classes for fixed-width, flip horizontal, flip vertical, and rotating 90, 180, or 270 degrees.
Build in API compatibility with Yahoo Weather, OpenWeatherMaps, Forecast.io, Weather Underground, and World Meteorological Organization. View the list of API mappings here.
Included are 28 moon phases, 12 hours of clock, the Beaufort wind force scale, maritime wind warnings,
Use Less or Sass preprocessors to integrate the Weather Icons right into your existing builds.
To use the Weather Icons, place the main CSS files in your CSS directory, and the font files in a "font" directory on the same folder level as the CSS director. Once you've done that, all you need to do to reference an icon in your HTML is type <i class="wi wi-night-sleet"></i>
The moons are split into 28 icons, to correspond neatly with the 28 day moon cycle. There is a primary set and alternate set. The primary set is meant to be interpreted as: where there are pixels, that is the illuminated part of the moon. The alternate set is meant to be interpreted as: where there are pixels, that is the shadowed part of the moon.
The classes for the wind direction indicator is split into 2 options. You can choose towards or from. Towards points to the degree, zero at the top. From points directly away from the degree. This means, if you want the indicator to represent "wind is coming from the south", you can use the towards-0-deg
class, or if you prefer to use from, then you would use from-180-deg
.
There are 360 classes for each in 1 degree increments for maximum precision.
NOTE: You must include the additional stylesheeet, weather-icons-wind.css
to use the wind icons and API mappings.
The classes for the cardinal wind direction indicator is split into 2 options. You can choose towards or from. Towards points to the direction in the class, north at the top. From points directly away from the direction in the class. This means, if you want the indicator to represent "wind is coming from the south", you can use the towards-n
class, or if you prefer to use from, then you would use from-s
.
The purpose of this is to accommodate applications that prefer to point to where the wind is originating from (arrow points against the wind), or pointing where the wind is blowing (arrow points in direction of wind). You can decide which fits your application best and use the class that matches.
There are 16 classes each for precision when using cardinal directions.
NOTE: You must include the additional stylesheeet, weather-icons-wind.css
to use the wind icons and API mappings.
Use these special, built-in utility classes to flip, rotate, or assign a fixed width to any icon.
wi-flip-horizontal
wi-flip-vertical
wi-rotate-90
wi-rotate-180
wi-rotate-270
wi-fw