Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openpeeps/iconim
🎁 SVG Icon library manager for server-side rendering. 👑 Written in Nim language
https://github.com/openpeeps/iconim
icon-library icons icons-manager nim nim-language server-side-rendering svg svg-icons svg-library
Last synced: 11 days ago
JSON representation
🎁 SVG Icon library manager for server-side rendering. 👑 Written in Nim language
- Host: GitHub
- URL: https://github.com/openpeeps/iconim
- Owner: openpeeps
- Created: 2023-02-10T23:13:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-31T00:34:55.000Z (10 months ago)
- Last Synced: 2024-11-20T19:36:20.227Z (2 months ago)
- Topics: icon-library, icons, icons-manager, nim, nim-language, server-side-rendering, svg, svg-icons, svg-library
- Language: Nim
- Homepage:
- Size: 88.9 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
🎁 SVG icon library manager for server-side rendering.
👑 Written in Nim language
nimble install iconim
## 😍 Key Features
- [x] Manage multiple SVG libraries
- [x] Auto-discover libraries
- [x] Change `XMLAttributes` on the fly
- [x] Open Source | `MIT` License
- [x] Written in 👑 Nim language## Examples
In this example we'll use [Feather Icons](https://feathericons.com/)```nim
# 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
- 🐛 Found a bug? [Create a new Issue](https://github.com/openpeep/iconim/issues)
- 👋 Wanna help? [Fork it!](https://github.com/openpeep/iconim/fork)
- 😎 [Get €20 in cloud credits from Hetzner](https://hetzner.cloud/?ref=Hm0mYGM9NxZ4)
- 🥰 [Donate via PayPal address](https://www.paypal.com/donate/?hosted_button_id=RJK3ZTDWPL55C)### 🎩 License
Iconim | MIT license. [Made by Humans from OpenPeep](https://github.com/openpeep).
Copyright © 2023 OpenPeep & Contributors — All rights reserved.