Skip to content

UrielCh/react-icons-bi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BoxIcons icons for preact

JSR

License CC BY 4.0 License

Project https://github.com/atisawd/boxicons

See available icons here

install the module

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

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 { BiAbacus } from "@preact-icons/bi"

import a single icon, downloading just one icon

import { BiAbacus } from "react-icons/bi/BiAbacus"

or using default export

import BiAbacus from "react-icons/bi/BiAbacus"