Skip to content
generated from openpeeps/pistachio

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

Notifications You must be signed in to change notification settings

openpeeps/iconim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


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

Releases

No releases published

Packages

No packages published

Languages