Skip to main content
Home

Built and signed on GitHub Actions

Ionicons 4 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)

Ionicons 4 icons for preact

JSR

License MIT

Project https://ionicons.com/

See available icons here

install the module

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

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

import a single icon, downloading just one icon

import { IoIosAddCircleOutline } from "react-icons/io/IoIosAddCircleOutline"

or using default export

import IoIosAddCircleOutline from "react-icons/io/IoIosAddCircleOutline"
Built and signed on
GitHub Actions

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.

Add Package

deno add jsr:@preact-icons/io

Import symbol

import * as io from "@preact-icons/io";
or

Import directly with a jsr specifier

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

Add Package

pnpm i jsr:@preact-icons/io
or (using pnpm 10.8 or older)
pnpm dlx jsr add @preact-icons/io

Import symbol

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

Add Package

yarn add jsr:@preact-icons/io
or (using Yarn 4.8 or older)
yarn dlx jsr add @preact-icons/io

Import symbol

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

Add Package

npx jsr add @preact-icons/io

Import symbol

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

Add Package

bunx jsr add @preact-icons/io

Import symbol

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