@levitatingorange/lucide-mithril
v1.0.2
Published
this is a simple npm module that exports all lucide icons as simple Mithril vnodes. It embed the svgs into hyperscript to be directly used as vnodes. License for this code (albeit trivial) is MIT (see [LICENSE](./LICENSE)), license for all icons is ISC (
Downloads
9
Readme
Lucide icons for Mithril
this is a simple npm module that exports all lucide icons as simple Mithril vnodes. It embed the svgs into hyperscript to be directly used as vnodes. License for this code (albeit trivial) is MIT (see LICENSE), license for all icons is ISC (see here, also included in bundled js output).
Usage
import m, { Component } from "mithril";
import { Egg as EggIcon } from "lucide-mithril";
const MyComponent: Component = {
view: () => {
return m(".hello-world", [
EggIcon
]);
},
};