0.477.0 • Published 4 months ago

lucide-nativewind v0.477.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

Lucide Icons for React Native with NativeWind

npm NPM Downloads GitHub

A drop in replacement for lucide-react-native to work with NativeWind. It provides Lucide icons with an additional className prop to allow for easy integration with NativeWind.

Installation

You can use either npm or yarn:

Using npm:

npm install lucide-nativewind

Using yarn:

yarn add lucide-nativewind

Usage

lucide-nativewind is built with ES modules so it's completely tree-shakable. Each icon can be imported as a react component.

All icons can be imported the same as if using the lucide-react-native package

- import { ArrowLeftCircleIcon } from 'lucide-react-native';
+ import { ArrowLeftCircleIcon } from 'lucide-nativewind';

Custom Icons

Custom icons can be wrapped with iconWithClassName to add the className prop.

import { iconWithClassName } from 'lucide-nativewind';
import MyCustomIcon from './MyCustomIcon';

const MyCustomIconWithClassName = iconWithClassName(MyCustomIcon);

Versioning

The version is automatically kept in sync with lucide-react-native

Contributing

All contributions welcome. Contributions/requests for new/updated icons should be directed to the lucide project: https://github.com/lucide-icons/lucide

FAQs

What icons are available?

All lucide icons are available, and this package will be updated whenever new icons are added to lucide. This package is not intended to add any additional or custom icons.

0.477.0

4 months ago

0.475.4

4 months ago

0.475.3

4 months ago

0.475.2

4 months ago

0.475.1

4 months ago

0.475.0

4 months ago

0.471.4

5 months ago

0.471.3

5 months ago

0.471.2

5 months ago

0.471.1

5 months ago

0.471.0

5 months ago

0.456.0

5 months ago