1.0.2 • Published 1 year ago

@levitatingorange/lucide-mithril v1.0.2

Weekly downloads
-
License
MIT,ISC
Repository
-
Last release
1 year ago

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
            ]);
    },
};
1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago