/iconim

🎁 SVG Icon library manager for server-side rendering. 👑 Written in Nim language

Primary LanguageNim


🎁 SVG icon library manager for server-side rendering.
👑 Written in Nim language

nimble install iconim

API reference
Github Actions Github Actions

😍 Key Features

  • Manage multiple SVG libraries
  • Auto-discover libraries
  • Change XMLAttributes on the fly
  • Open Source | MIT License
  • Written in 👑 Nim language

Examples

In this example we'll use Feather Icons

# initialize
init("../examples", default = "feather", stripAttrs = @["class"])

# render icons
echo icon("activity")
# once rendered, will be stored in a hash table.

# change size on the fly
echo icon("calendar").size(48)

TODO handle custom XMLAttributes

❤ Contributions & Support

🎩 License

Iconim | MIT license. Made by Humans from OpenPeep.
Copyright © 2023 OpenPeep & Contributors — All rights reserved.