Skip to content

UrielCh/react-icons-wi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Icons icons for preact

JSR

License SIL OFL 1.1

Project https://erikflowers.github.io/weather-icons/

See available icons here

install the module

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

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:[email protected]",
 "preact/jsx-runtime": "npm:[email protected]/jsx-runtime",
 "preact/hooks": "npm:[email protected]/hooks",
}

import an icon from all icons

import { WiAlien } from "@preact-icons/wi"

import a single icon, downloading just one icon

import { WiAlien } from "react-icons/wi/WiAlien"

or using default export

import WiAlien from "react-icons/wi/WiAlien"

About

deno fresh react-icons for wi

Resources

Stars

Watchers

Forks

Packages

No packages published