/react-icons-lu

deno fresh react-icons for lu

Primary LanguageTypeScript

Lucide icons icons for preact

JSR

License ISC License

Project https://lucide.dev/

See available icons here

install the module

deno add @preact-icons/lu
dnpx jsr add @preact-icons/lu
pnpm dlx jsr add @preact-icons/lu
bunx jsr add @preact-icons/lu

You may need to update your preact mapping to avoid mixing JSR and http import: Currently Deno fresh import preact using https://esm.sh/preact http import can not be mixed with JSR package, so you may need to update your preact mapping:

{
 "preact": "npm:preact@10.22.1",
 "preact/jsx-runtime": "npm:preact@10.22.1/jsx-runtime",
 "preact/hooks": "npm:preact@10.22.1/hooks",
}

import an icon from all icons

import { LuAArrowDown } from "@preact-icons/lu"

import a single icon, downloading just one icon

import { LuAArrowDown } from "react-icons/lu/LuAArrowDown"

or using default export

import LuAArrowDown from "react-icons/lu/LuAArrowDown"