json


目录

title: Exporting Iconify Icon Set
types:
  SVG: '../svg/index.md'
  IconSet: '../icon-set/index.md'
  IconifyJSON: '/docs/types/iconify-json.md'
functions:
  export: '../icon-set/export.md'

Exporting Iconify icon set

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

[type]IconSet instance has [func]export() function that exports icon set in [type]IconifyJSON format.

Then you need to convert it to string using [func]JSON.stringify() and save it to file.

Example

src: libraries/tools/export/json.ts
title: 'example.ts'

版本号 #2
由 壳壳虫 创建于 2026-10-31 14:24:49 UTC
由 壳壳虫 更新于 2026-10-31 14:24:50 UTC