0.2.0 • Published 5 years ago

efflux-icons v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Efflux Icons


Icon Set Last Updated: Tue Apr 23 2019

Installation

  1. Install modules - yarn

  2. Start example and start coding - yarn start

  3. Run tests - yarn test

  4. Bundle with - yarn build

  5. To test if it works correctly in another project you can use yarn to sym-link the development version of efflux-icons on your pc to another existing project on your local machine:

    1. yarn link inside efflux-icons root folder.
    2. yarn link efflux-icons inside of the project folder you want to use efflux-icons in.

Note: Making changes to the efflux-icons projects will require rebuilding the bundle.js via yarn build in order for new changes to reflect in the linked project.

NPM equivalent

yarnnpm
yarnnpm install
yarn testnpm run test
yarn buildnpm run build

Basic Usage

import React from 'react'
import Icon from 'efflux-icons';

export default function Example() {
  return (
    <div>
      <Icon name={'Home'} color={'blue'} />
    </div>
  )
}

Props

prop nametypedescriptionrequireddefault
nameStringname of icon to be used as sourceyesn/a
colorStringcolor to be used in stroke and fill propertiesnoblack
sizeNumbersize of icon in px this defines the bounding box of the icon relative to width & heightno20px

Icon Catalogue

The following Icons are available within this icon library. These Icons are ordered in alphabetical order

previewname
ArrowDownArrow Down
ArrowLeftArrow Left
ArrowRightArrow Right
ArrowUpArrow Up
BellBell
ChartChart
CheckCheck
CloseClose
CurrencyCurrency
ExternalExternal
FacebookFacebook
HomeHome
InstagramInstagram
LaptopLaptop
LocationLocation Pin
LockLock
MailPendingMail Pending
MailMail
MenuMenu
OverflowOverflow
PhonePhone
RefreshRefresh
SoundcloudSoundcloud
StarStar
TwitterTwitter
UserAddUser Add
UserRolesUser Roles
UserSearchUser Search
UsersUsers
VideoVideo
VimeoVimeo
YoutubeYoutube
WarningWarning

Development Roadmap

This project is still in development. When properly tested the following tasks will be completed:

  • Add Jest Tests for components