Socket
Socket
Sign inDemoInstall

@wfp/ui

Package Overview
Dependencies
23
Maintainers
7
Versions
349
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @wfp/ui

WFP UI-Kit Next


Version published
Weekly downloads
267
decreased by-9.18%
Maintainers
7
Created
Weekly downloads
 

Readme

Source

World Food Programme UI Kit (WFP-UI)

BranchBuild Status
masterBuild Status
developBuild Status

Work in progress, not for use at the moment.

Credits

The UI-Kit will be heavily based on:

Carbon Components U.S. Webdesign System Sketch Favicon Exporter Template

Usage

List of Available Components

View available Components here. Usage information is available when you click the blue ? icon in the top right corner of the selected component.

Usage

Run the following command using npm:

npm install @wfpw/ui

Import a react component

import { Breadcrumb, BreadcrumbItem, BreadcrumbHome } from '@wfp/ui';

Import the css

@import '@wfp/ui/css/styles';

View available React Components here. Usage information is available when you click the blue Show Info icon in the top right corner of the selected component.

Logos

All the logo files can be found in the wfp-ui/logos folder. Currently the logo is available in

  • Colors: blue, white and black
  • Fileformat: svg, png in different sizes
  • Languages: arabic, english, spanish, french

The Source files can be found in sketch/WFP Logos.sketch.

Sketch Library

The Sketch Library can be used to easily create new UI in Sketch App. You can download it Sketch App.

Favicons

All the logo files can be found in the wfp-ui/favicons folder. The full sizes catalog which has to be added to the header.

<link rel="apple-touch-icon" sizes="57x57" href="/favicons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/favicons/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/favicons/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/favicons/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/favicons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/favicons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/favicons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/favicons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192"  href="/favicons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicons/favicon-16x16.png">
<meta name="msapplication-TileColor" content="#006CB6">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#006CB6">

Development

Please refer to the Contribution Guidelines before starting any work.

Using the server

We recommend the use of React Storybook for developing components.

  1. Start the server:

    $ yarn storybook
    
  2. Open browser to http://localhost:9000/.

  3. Develop components in their respective folders (/components or /internal).

  4. Write stories for your components in /.storybook.

Keywords

FAQs

Last updated on 03 May 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc