@preact-icons/hi@1.0.13Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
UrielCh/react-icons-hiHeroicons icons for Preact
This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Bun, Browsers




JSR Score
100%
Published
9 months ago (1.0.13)
Heroicons icons for preact
License MIT
Project https://github.com/tailwindlabs/heroicons
install the module
deno add @preact-icons/hi dnpx jsr add @preact-icons/hi pnpm dlx jsr add @preact-icons/hi bunx jsr add @preact-icons/hi
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 { HiAcademicCap } from "@preact-icons/hi"
import a single icon, downloading just one icon
import { HiAcademicCap } from "react-icons/hi/HiAcademicCap"
or using default export
import HiAcademicCap from "react-icons/hi/HiAcademicCap"
Built and signed on
GitHub Actions
Add Package
deno add jsr:@preact-icons/hi
Import symbol
import * as hi from "@preact-icons/hi";
Import directly with a jsr specifier
import * as hi from "jsr:@preact-icons/hi";
Add Package
pnpm i jsr:@preact-icons/hi
pnpm dlx jsr add @preact-icons/hi
Import symbol
import * as hi from "@preact-icons/hi";
Add Package
yarn add jsr:@preact-icons/hi
yarn dlx jsr add @preact-icons/hi
Import symbol
import * as hi from "@preact-icons/hi";
Add Package
vlt install jsr:@preact-icons/hi
Import symbol
import * as hi from "@preact-icons/hi";
Add Package
npx jsr add @preact-icons/hi
Import symbol
import * as hi from "@preact-icons/hi";
Add Package
bunx jsr add @preact-icons/hi
Import symbol
import * as hi from "@preact-icons/hi";