vanilla-icon

Size < 1kb

Usage no npm install needed!

<script type="module">
  import vanillaIcon from 'https://cdn.skypack.dev/vanilla-icon';
</script>

README

vanilla-icon

Size < 1kb

Install

$ npm install --save vanilla-message

Use

import List from 'vanilla-icon';

// add https://www.iconfont.cn/ css-iconfont
const icon = Icon('close', { type: 'font' });

document.body.append(iconi);