Skip to main content
The Deno 2 Release Candidate is here
Learn more

Tabler Icons icons for deno / Preact

License MIT

Project https://github.com/tabler/tabler-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/tb":  "https://cdn.jsdelivr.net/gh/urielch/react-icons-tb@1.0.10/mod.ts",
    "react-icons/tb/": "https://cdn.jsdelivr.net/gh/urielch/react-icons-tb@1.0.10/ico/",
  }
}

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

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

import_map import an icon from all icons

import { TbAccessibleFilled } from "react-icons/tb"

import a single icon, downloading just one icon

import { TbAccessibleFilled } from "react-icons/tb/TbAccessibleFilled.ts"

or using default export

import TbAccessibleFilled from "react-icons/tb/TbAccessibleFilled.ts"