1.0.3 • Published 2 years ago

lit-remixicon v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

LIT-REMIXICON

This is a simple wrapper package to add remixicon icons to lit projects.

https://remixicon.com/


Instructions

npm i lit-remixicon

Just import it and wrap it in an element.

import inlineSoSVG from 'lit-remixicon/svg/logos/stack-overflow-fill';
...
...
public render() {
  return html`<i style="display: inline-block; width: 50x; height: 50px;">${inlineSoSVG}</i>`;
}

import path is lit-remixicon/svg/[category]/[icon name]

You can find the categories and icons at https://remixicon.com/ website.

dependencies

  • Lit