跳转到主要内容

svg

title: Importing SVG
types:
  SVG: '../svg/index.md'
  IconSet: '../icon-set/index.md'

Importing SVG

This tutorial is part of import functions documentation in Iconify Tools.

There is no special function for importing one icon because it is redundant. All you have to do is read content and create new [type]SVG instance:

Example

src: libraries/tools/import/svg.ts
title: 'example.ts'