1 unstable release
0.0.1 | Jul 24, 2023 |
---|
#82 in #embedded-graphics
8MB
200K
SLoC
📦 embedded-icon
12600+ 🖼 icons for embedded-graphics.
🚀 Features
- 📦 Support to multiple icon packs - Easy to add support to!
- 🎨 Multiple resolutions - 12px to 144px
- ⚡ Zero cost abstraction - Only enabled icons increase binary size
💾 Installation
Add this to your Cargo.toml
:
[dependencies]
embedded-icon = "0.1.0"
🎨 Icon Packs
🖼 Usage
use embedded_graphics::image::Image;
use embedded_graphics::prelude::*;
use embedded_icon::{simple::size32::Github};
let github_icon = Github::new(Rgb888::CSS_ORANGE);
Image::new(github_icon, Point::new(10, 10)).draw(display).ok();
Check the example: cargo run --example simple
🤝 Contributing
Contributions are welcome! Please open an issue or PR on GitHub.
This project was inspired by embedded-iconoir.
Dependencies
~4MB
~47K SLoC