@kano/icons

3.3.14 • Public • Published

Kano icons

Set of icons to use and re-use across UIs

Installation

yarn add @kano/icons

Usage

// Import the needed icon
import { close } from '@kano/icons/ui.js';

// Create a new instance by cloning the template's content
const instance = close.content.cloneNode(true);

// Add it anywhere, it's just a DOM node
document.body.appendChild(instance);

// If using a string template engine that supports templates, just do
const template = html`
    <div>${close}</div>
`;

Readme

Keywords

none

Package Sidebar

Install

npm i @kano/icons

Weekly Downloads

0

Version

3.3.14

License

MIT

Unpacked Size

74.7 kB

Total Files

8

Last publish

Collaborators

  • thefijimonster
  • dianlin61
  • jacobmorgan99
  • alexnklein
  • ellenw3lsh
  • camuskano
  • alexfiennes
  • kanocomputing
  • jamie_old_plantain