Skip to content

omijs/lucide-omi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7b51320 Β· Jan 14, 2024

History

8 Commits
Jan 13, 2024
Jan 13, 2024
Jan 14, 2024
Jan 14, 2024
Jan 13, 2024
Jan 13, 2024
Jan 13, 2024
Jan 13, 2024
Jan 13, 2024
Jan 13, 2024
Jan 13, 2024
Jan 13, 2024
Jan 13, 2024
Jan 13, 2024
Jan 13, 2024
Jan 14, 2024
Jan 13, 2024

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages