@preact-icons/fa@1.0.12Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
UrielCh/react-icons-faFont Awesome 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
3 months ago (1.0.12)
Font Awesome icons for preact
License CC BY 4.0 License
Project https://fontawesome.com/
install the module
deno add @preact-icons/fa dnpx jsr add @preact-icons/fa pnpm dlx jsr add @preact-icons/fa bunx jsr add @preact-icons/fa
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 { Fa500Px } from "@preact-icons/fa"
import a single icon, downloading just one icon
import { Fa500Px } from "react-icons/fa/Fa500Px"
or using default export
import Fa500Px from "react-icons/fa/Fa500Px.ts"
Built and signed on
View transparency logGitHub Actions
Add Package
deno add jsr:@preact-icons/fa
Import symbol
import * as mod from "@preact-icons/fa";
---- OR ----
Import directly with a jsr specifier
import * as mod from "jsr:@preact-icons/fa";
Add Package
npx jsr add @preact-icons/fa
Import symbol
import * as mod from "@preact-icons/fa";
Add Package
yarn dlx jsr add @preact-icons/fa
Import symbol
import * as mod from "@preact-icons/fa";
Add Package
pnpm dlx jsr add @preact-icons/fa
Import symbol
import * as mod from "@preact-icons/fa";
Add Package
bunx jsr add @preact-icons/fa
Import symbol
import * as mod from "@preact-icons/fa";