polestar-icons

Polestar UI Icons

Usage no npm install needed!

<script type="module">
  import polestarIcons from 'https://cdn.skypack.dev/polestar-icons';
</script>

README

polestar-icons

npm Build Status Dependencies DevDependencies GitHub license

polestar-icons

Installation

npm install polestar-icons --save

Then add it to your babel configuration like so: (.babelrc or babel.config.js)

{
  "plugins": [
        "syntax-dynamic-import"
    ]
}

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import Icon from 'polestar-icons';

const App = () => (
    <Icon name="icon-name" />
);

ReactDOM.render(
  <App />,
  document.getElementById('app')
);

Examples

To run and development examples:

  1. Clone this repo
  2. Run npm install
  3. Start the development server with npm start
  4. Point your browser to http://localhost:4100

Documentation

https://nkiateam.github.io/polestar-icons/

svg 생성 가이드

  1. 사이즈 조절 가능
  2. css(className 설정) 로 제어 가능

License

The MIT License (MIT)