/react-icons-md

deno fresh react-icons for md

Primary LanguageTypeScript

Material Design icons icons for preact

JSR

License Apache License Version 2.0

Project http://google.github.io/material-design-icons/

See available icons here

install the module

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

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

import a single icon, downloading just one icon

import { Md123 } from "react-icons/md/Md123"

or using default export

import Md123 from "react-icons/md/Md123"