openpeeps / iconim

🎁 SVG Icon library manager for server-side rendering. πŸ‘‘ Written in Nim language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


🎁 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.

About

🎁 SVG Icon library manager for server-side rendering. πŸ‘‘ Written in Nim language


Languages

Language:Nim 100.0%