# svg

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

# Importing SVG

This tutorial is part of [import functions documentation](./index.md) in [Iconify Tools](../index.md).

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

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