User Interface Icons should be used to strengthen visual cues; use them wisely and do not overload the interface with icons.

Usually an icon should be shown accompanied by a corresponding text label, for the benefit of users who are unfamiliar with the icon.

Each icon is available in either a dark or a light fill.

Usage

First thing to do, is to load the icons to your web site or application, by referencing it in <head> section. There are three stylesheets to choose from, depending on what browsers you intend on supporting. Two primary files use base64 encoded SVGs and PNGs, while the third file relies on old-school background-image: url() fallback to PNGs available from the filesystem.

You can check support for base64 and SVG in CSS support on caniuse.com.

Bower
<!-- For modern browsers with SVG support -->
<link rel="stylesheet" href="bower_components/wfp-ui/dist/assets/icons/ui/ui-icons.svg.css">
<!-- For browsers without SVG support -->
<link rel="stylesheet" href="bower_components/wfp-ui/dist/assets/icons/ui/ui-icons.png.css">
<!-- IE8-9 Fallback -->
<link rel="stylesheet" href="bower_components/wfp-ui/dist/assets/icons/ui/ui-icons.fallback.css">
CDN
<!-- For modern browsers with SVG support -->
<link rel="stylesheet" href="http://cdn.wfp.org/libraries/wfpui/v0.8.0/assets/icons/ui/ui-icons.svg.css">
<!-- For browsers without SVG support -->
<link rel="stylesheet" href="http://cdn.wfp.org/libraries/wfpui/v0.8.0/assets/icons/ui/ui-icons.png.css">
<!-- IE8-9 Fallback -->
<link rel="stylesheet" href="http://cdn.wfp.org/libraries/wfpui/v0.8.0/assets/icons/ui/ui-icons.fallback.css">

Add UI icons to your interfaces using <span> element with a class icon-{icon-name}, where {icon-name} means a corresponding name of the icon listed in a preview below (or in the package).

<span class="icon-account-circle-dark"></span>

Notice

UI icons can be used alongside other UI elements; within menus, buttons, etc, as long as there is a descriptive label next to it. Do not use icons on their own on actionable UI elements, such as links or buttons.

Preview
<nav class="wfp-menu">
  <h6 class="menu--heading">Navigation</h6>
  <ul class="menu--wrapper">
    <li class="menu--item">
      <a href="#" class="menu--link"><i class="icon-email-dark"></i> Inbox</a>
    </li>
    <li class="menu--item">
      <a href="#" class="menu--link"><i class="icon-account-circle-dark"></i> Account</a>
    </li>
    <li class="menu--item">
      <a href="#" class="menu--link"><i class="icon-exit-to-app-dark"></i> Sign Out</a>
    </li>
  </ul>
</nav>

Sizing

By default, all UI icons are displayed in 24 x 24px size. You can easily adjust that, using special sizing classes.

Sample Size Class
16px xsmall
24px (default) small
32px medium
48px large
64px xlarge

Available Icons

Notice

Need a User Interface icon not listed here? Send us a request via wfp.publications@wfp.org.

  • accept-dark
  • accept-light
  • account-circle-dark
  • account-circle-light
  • add-circle-dark
  • add-circle-light
  • announcement-dark
  • announcement-light
  • archive-dark
  • archive-light
  • arrow-drop-down-dark
  • arrow-drop-down-light
  • arrow-drop-up-dark
  • arrow-drop-up-light
  • attach-dark
  • attach-light
  • attention-dark
  • attention-light
  • backspace-dark
  • backspace-light
  • bug-dark
  • bug-light
  • checkbox-checked-dark
  • checkbox-checked-light
  • checkbox-unchecked-dark
  • checkbox-unchecked-light
  • close-circle-dark
  • close-circle-light
  • credit-card-dark
  • credit-card-light
  • delete-dark
  • delete-light
  • download-dark
  • download-light
  • edit-dark
  • edit-light
  • email-closed-dark
  • email-closed-light
  • email-open-dark
  • email-open-light
  • emoticon-dark
  • emoticon-light
  • external-link-dark
  • external-link-light
  • favorite-false-dark
  • favorite-false-light
  • favorite-true-dark
  • favorite-true-light
  • flag-dark
  • flag-light
  • grade-neg-dark
  • grade-neg-light
  • grade-pos-dark
  • grade-pos-light
  • help-dark
  • help-light
  • home-dark
  • home-light
  • info-neg-dark
  • info-neg-light
  • info-pos-dark
  • info-pos-light
  • link-dark
  • link-light
  • live-help-dark
  • live-help-light
  • location-dark
  • location-light
  • money-dark
  • money-light
  • noentry-dark
  • noentry-light
  • notifications-off-dark
  • notifications-off-light
  • notifications-on-dark
  • notifications-on-light
  • people-dark
  • people-light
  • person-dark
  • person-light
  • phone-dark
  • phone-light
  • radio-btn-off-dark
  • radio-btn-off-light
  • radio-btn-on-dark
  • radio-btn-on-light
  • reject-dark
  • reject-light
  • reload-dark
  • reload-light
  • search-dark
  • search-light
  • secure-dark
  • secure-light
  • secure-neg-dark
  • secure-neg-light
  • settings-dark
  • settings-light
  • share-dark
  • share-light
  • signout-dark
  • signout-light
  • thumb-down-dark
  • thumb-down-light
  • thumb-up-dark
  • thumb-up-light
  • time-dark
  • time-light
  • translate-dark
  • translate-light
  • upload-dark
  • upload-light
  • visibility-dark
  • visibility-light