Skip to content

UrielCh/react-icons-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ant Design Icons icons for preact

JSR

License MIT

Project https://github.com/ant-design/ant-design-icons

See available icons here

install the module

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

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:[email protected]",
 "preact/jsx-runtime": "npm:[email protected]/jsx-runtime",
 "preact/hooks": "npm:[email protected]/hooks",
}

import an icon from all icons

import { AiFillAccountBook } from "@preact-icons/ai"

import a single icon, downloading just one icon

import { AiFillAccountBook } from "react-icons/ai/AiFillAccountBook"

or using default export

import AiFillAccountBook from "react-icons/ai/AiFillAccountBook"

About

deno fresh react-icons for ai

Resources

Stars

Watchers

Forks

Packages

No packages published