0.6.0 • Published 6 months ago

flowbite-icons-mithril v0.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

flowbite-icons-mithril

500+ SVG Flowbite icons components for Mithril.

Installation

npm i -D flowbite-icons-mithril

Usage

import m from "mithril";
import { BugIcon } from "flowbite-icons-mithril/solid";

export const MyComponent = {
  view: () => m(BugIcon),
};

Attributes

Size

The following size helpers are available: Default: sm.

SizeCSS Classes
xsw-3 h-3
smw-4 h-4
mdw-5 h-5
lgw-6 h-6
xlw-8 h-8

Using:

m(BugIcon, {size: "lg"})

Class

You can override the default sizes and pass any Tailwind CSS classes like this:

m(BugIcon, {class: "h-24 w-24 text-blue-700 mr-4"})

Attributes

You can pass any extra attributes you want in the normal Mithril way:

m(BugIcon, {"aria-hidden": true})
0.6.0

6 months ago

0.5.0

7 months ago

0.4.0

7 months ago

0.3.1

7 months ago

0.3.0

7 months ago

0.2.0

7 months ago

0.1.0

7 months ago