Skip to main content
Deno 2 is finally here 🎉️
Learn more

Ant Design Icons icons for deno / Preact

License MIT

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

See available icons here

import_map.json

For a transparent usage:

{
  "imports": {
    "preact":  "https://esm.sh/preact@10.15.1",
    "preact/": "https://esm.sh/preact@10.15.1/",
    "react-icons/ai":  "https://cdn.jsdelivr.net/gh/urielch/react-icons-ai@1.0.7/mod.ts",
    "react-icons/ai/": "https://cdn.jsdelivr.net/gh/urielch/react-icons-ai@1.0.7/ico/",
  }
}

Import an icon without import_map by and afer loading all icons from the lib ai

import { AiFillAccountBook } from "https://deno.land/x/react_icons_ai@1.0.7/mod.ts"

import_map import an icon from all icons

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

import a single icon, downloading just one icon

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

or using default export

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