haideralsh / nds-icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@nulogy/icons

This is a collection of Material Icons that are used by Nulogy applications. This package is already imported into the <Icon /> component of the @nulogy/components, and the icons here can be chosen with the icon prop.

npm (scoped)

📦 Installation

If you don't have access to the React component, you can install these directly:

$ yarn add @nulogy/icons

They can then be used in your application like any other .svg.

➕ Adding a new icon

We use a subset of "Outlined" Material icons at Nulogy. To find and add a new one:

  1. Search Material Icons for the icon you need
  2. Clone this repo (git clone https://github.com/nulogy/nds-icons.git)
  3. Download svg and rename to desired icon name (in camelCase)
  4. Place svg in assets/ folder
  5. run yarn && yarn build to make the icon available to use
  6. Submit PR

💬 Questions

  • #design-system

About

License:MIT License


Languages

Language:JavaScript 100.0%