Skip to content

patrickelectric/embedded-icon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 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.0.1"

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

Releases

No releases published

Packages

No packages published

Languages