Skip to main content

Built and signed on GitHub Actions

Simple Line 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
3 months ago (1.0.12)

Simple Line Icons icons for preact

JSR

License MIT

Project https://thesabbir.github.io/simple-line-icons/

See available icons here

install the module

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

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

import a single icon, downloading just one icon

import { SlActionRedo } from "react-icons/sl/SlActionRedo"

or using default export

import SlActionRedo from "react-icons/sl/SlActionRedo.ts"
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@preact-icons/sl

Import symbol

import * as mod from "@preact-icons/sl";

---- OR ----

Import directly with a jsr specifier

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

Add Package

npx jsr add @preact-icons/sl

Import symbol

import * as mod from "@preact-icons/sl";

Add Package

yarn dlx jsr add @preact-icons/sl

Import symbol

import * as mod from "@preact-icons/sl";

Add Package

pnpm dlx jsr add @preact-icons/sl

Import symbol

import * as mod from "@preact-icons/sl";

Add Package

bunx jsr add @preact-icons/sl

Import symbol

import * as mod from "@preact-icons/sl";