lucide-omi
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

Lucide-Omi

Implementation of the lucide icon library for Omi

Installation

npm install lucide-omi

Usage

import { render, define, Component } from 'omi'
import { Menu } from 'lucide-omi'

define('my-app', class extends Component {
  render() {
    return (
      <div>
        <Menu color="red" strokeWidth={3} size={36} />
      </div>
    )
  }
})

render(<my-app />, 'body')

Props

Prop Type Default Description
color string currentColor Color of the icon
size number 24 Size of the icon
strokeWidth number 2 Stroke width of the icon
absoluteStrokeWidth boolean false If true, stroke width will be the same regardless of icon size.

/lucide-omi/

    Package Sidebar

    Install

    npm i lucide-omi

    Weekly Downloads

    0

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    2.29 MB

    Total Files

    1391

    Last publish

    Collaborators

    • dntzhang