humanmade/nova-icons

Name: nova-icons

Owner: Human Made

Description: (Free) Nova Icons for use in React projects.

Created: 2018-02-27 03:37:38.0

Updated: 2018-02-27 04:28:55.0

Pushed: 2018-02-27 04:20:39.0

Homepage: null

Size: 177

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Nova Icons
(Free) Nova Icons for use in React projects.
A Human Made project. Maintained by @rmccue.

This is the free (public domain) NOVA icons, repackaged into React components.

Usage

yarn add @humanmade/nova-icons

You need to include the CSS file:

rt '@humanmade/nova-icons/style.css';

Then, import the icons you want:

mport via unpacking:
rt { Airplane } from '@humanmade/nova-icons';

r import by file:
rt Cloud from '@humanmade/nova-icons/Cloud';

rt default props => {
<div>A <Airplane /> flies in the <Cloud /></div>;

Development

All the smartness of this repo is in npm scripts and the config.js. Components are built using svg-react-transformer-writer; see the options for configuration.

To publish a new version, run yarn run dist, which will publish in “flat mode”. There is a prepublishOnly script to prevent publishing from the root directory, but you should be careful anyway.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.