Skip to main content

Built and signed on GitHub Actions

Simple Icons icons for preact

This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
100%
Published
2 months ago (1.0.13)

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Simple Icons icons for preact

JSR

License CC0 1.0 Universal

Project https://simpleicons.org/

See available icons here

install the module

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

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

import a single icon, downloading just one icon

import { Si1001Tracklists } from "react-icons/si/Si1001Tracklists"

or using default export

import Si1001Tracklists from "react-icons/si/Si1001Tracklists"
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@preact-icons/si

Import symbol

import * as si from "@preact-icons/si";

---- OR ----

Import directly with a jsr specifier

import * as si from "jsr:@preact-icons/si";

Add Package

npx jsr add @preact-icons/si

Import symbol

import * as si from "@preact-icons/si";

Add Package

yarn dlx jsr add @preact-icons/si

Import symbol

import * as si from "@preact-icons/si";

Add Package

pnpm dlx jsr add @preact-icons/si

Import symbol

import * as si from "@preact-icons/si";

Add Package

bunx jsr add @preact-icons/si

Import symbol

import * as si from "@preact-icons/si";