This project provides a collection of icons derived from the Iconify project. The icons are generated from the JSON data provided by the iconify/icon-sets repository.
The icons are available as individual SVG files within the icons
directory. You can access them directly via JSDelivr URLs, for example:
https://cdn.jsdelivr.net/gh/simplr-sh/iconify-icons/icons/academicons/academia-square.svg
Replace academicons/academia-square.svg
with the path to the specific icon you need.
https://cdn.jsdelivr.net/gh/simplr-sh/iconify-icons/icons/<folder-name>/<file-name>.svg
To install dependencies:
bun install
This project uses bun
as its runtime.
The icons are generated using the scripts/download-iconify-icon-sets-json-folder-contents.ts
script. This script does the following:
- Clones the iconify/icon-sets repository.
- Extracts the JSON data for each icon set.
- Validates the icon set data.
- Exports each icon set as a directory of SVG files within the
icons
directory.
icons/
: Contains the generated SVG icon files, organized into subdirectories based on the icon set name.scripts/
: Contains thedownload-iconify-icon-sets-json-folder-contents.ts
script used to generate the icons.index.ts
: A simple entry point for the project.package.json
: Defines the project's dependencies and scripts.tsconfig.json
: Configures the TypeScript compiler.README.md
: This file..gitignore
: Specifies intentionally untracked files that Git should ignore.
This project uses the following dependencies:
@iconify/tools
: For processing and exporting icon sets.@iconify/utils
: For validating icon set data.
If you'd like to contribute to this project, please feel free to submit a pull request.
This project is based on the Iconify project, which is licensed under the MIT License. Please refer to the Iconify project for more information on licensing.