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

Bootstrap Icons icons for deno / Preact

License MIT

Project https://github.com/twbs/icons

See available icons here

import_map.json

For a transparent usage:

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

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

import { BsFill0CircleFill } from "https://deno.land/x/react_icons_bs@1.0.10/mod.ts"

import_map import an icon from all icons

import { BsFill0CircleFill } from "react-icons/bs"

import a single icon, downloading just one icon

import { BsFill0CircleFill } from "react-icons/bs/BsFill0CircleFill.ts"

or using default export

import BsFill0CircleFill from "react-icons/bs/BsFill0CircleFill.ts"