@levitatingorange/lucide-mithril
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @levitatingorange/lucide-mithril

Weekly Downloads

0

Version

1.0.2

License

MIT,ISC

Unpacked Size

1.16 MB

Total Files

12

Last publish

Collaborators

  • levitatingorange