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:
import '@humanmade/nova-icons/style.css';
Then, import the icons you want:
import { Airplane } from '@humanmade/nova-icons';
import Cloud from '@humanmade/nova-icons/Cloud';
export 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.