#icons #embedded-graphics #multiple #size #zero #ported #12600

embedded-icon

12600+ icons for embedded-graphics, ported from multiple packages

1 unstable release

0.0.1 Jul 24, 2023

#31 in #ported

38 downloads per month

MIT license

8MB
200K SLoC

TSX 155K SLoC // 0.0% comments Dart 34K SLoC Vue 5.5K SLoC TypeScript 3K SLoC // 0.1% comments JavaScript 2K SLoC // 0.1% comments C++ 426 SLoC // 0.1% comments Rust 345 SLoC // 0.0% comments Swift 36 SLoC // 0.1% comments Xcode Config 24 SLoC // 0.2% comments Kotlin 4 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