Icondata

This crate provides SVG icon data from popular and free icon libraries. Every icon is packaged as its own cargo feature to reduce build times.

A site referencing every icon is now available!

Please note that as long as version 0.1.0 is not published, any patch update may cause breaking changes and is not guaranteed to work.

Table of Contents

Usage

Every crate is tied to a specific icon package. You can find the name of the crate corresponding to a package in the Icon Packages section.

As an example, to use the bootstrap folder icon, add the following to your Cargo.toml:

```toml [dependencies]

...

icondata_bs = { version = "...", features = ["BsFolder"] } ```

If you are creating a component library for a web framework, you can use this boilerplate setup.

Icon Packages

Licenses of the icons provided through these libraries were extracted with best intent, but must only be taken as a hint. Please check the individual icon repositories for up-to-date license information.

| Icon Library | Version | Source | License | Crate Name | | ------------ | ------- | ------ | ------- | ---------- | | Ant Design Icons | 5.3.2 | Git: https://github.com/ant-design/ant-design-icons - Branch: master - Commit: 7c804893b4ac698d5713b2b59f3d044eb8f5128f | MIT, | icondataai | | BoxIcons | 2.1.4 | Git: https://github.com/atisawd/boxicons - Branch: master - Commit: 9ffa9136e8681886bb7bd2145cd4098717ce1c11 | CC BY 4.0, | icondatabi | | Bootstrap Icons | 1.10.4 | Git: https://github.com/twbs/icons - Tag: v1.10.4 | MIT, | icondatabs | | css.gg | 2.0.0 | Git: https://github.com/astrit/css.gg - Tag: 2.0.0 | MIT, | icondatacg | | Charm | 0.8.0 | Git: https://github.com/jaynewey/charm-icons - Tag: v0.18.0 | MIT, | icondatach | | Font Awesome | 6.4.0 | Git: https://github.com/FortAwesome/Font-Awesome - Tag: 6.4.0 | CC BY 4.0, | icondatafa | | Feather | 4.29.0 | Git: https://github.com/feathericons/feather - Tag: v4.29.0 | MIT, | icondatafi | | Heroicons | 2.0.17 | Git: https://github.com/refactoringui/heroicons - Tag: v2.0.17 | MIT, | icondatahi | | IcoMoon Free | unknown | Git: https://github.com/Keyamoon/IcoMoon-Free - Branch: master - Commit: d006795ede82361e1bac1ee76f215cf1dc51e4ca | CC BY 4.0, GPL, | icondataim | | Ionicons | 7.1.0 | Git: https://github.com/ionic-team/ionicons - Tag: v7.1.0 | MIT, | icondataio | | Lucide | 0.172.0 | Git: https://github.com/lucide-icons/lucide - Tag: v0.172.0 | ISC, | icondatalu | | Github Octicons | 18.3.0 | Git: https://github.com/primer/octicons - Tag: v18.3.0 | MIT, | icondataoc | | Remix Icon | 3.2.0 | Git: https://github.com/Remix-Design/RemixIcon - Tag: v3.2.0 | Apache 2.0, | icondatari | | Simple Icons | 8.10.0 | Git: https://github.com/simple-icons/simple-icons - Tag: 8.10.0 | CC0 1.0 Universal, | icondatasi | | Tabler Icons | 2.17.0 | Git: https://github.com/tabler/tabler-icons - Tag: v2.17.0 | MIT, | icondatatb | | Typicons | 2.1.2 | Git: https://github.com/stephenhutchings/typicons.font - Tag: v2.1.2 | CC BY-SA 3.0, | icondatati | | VS Code Icons | 0.0.32 | Git: https://github.com/microsoft/vscode-codicons - Tag: 0.0.32 | CC BY 4.0, | icondatavs | | Weather Icons | 2.0.12 | Git: https://github.com/erikflowers/weather-icons - Tag: 2.0.12 | SIL OFL 1.1, | icondatawi |

Developing

This repository uses Just

Simply call bash just to see a list of available commands.

You may need to install just using

bash cargo install just

Contributing

Contributions are more than welcomed! Do not hesitate add icon libraries, features, etc.