#egui #ui #svg-icons #icons #svg

armas-icon

SVG-based icon system for egui with runtime tessellation

4 releases

0.2.0 Feb 23, 2026
0.1.2 Jan 27, 2026
0.1.1 Jan 27, 2026
0.1.0 Jan 27, 2026

#1876 in GUI


Used in 4 crates (2 directly)

MIT/Apache

22KB
412 lines

armas-icon

Crates.io Documentation License

SVG icon rendering system for egui.

Overview

Converts SVG paths into tessellated geometry at compile time for efficient runtime rendering. Used internally by other Armas crates but can be used standalone for custom icon needs.

Installation

[dependencies]
armas-icon = "0.1.0"
egui = "0.33"

How it works

Icons are parsed from SVG files at compile time using usvg and tessellated into triangle meshes with lyon. The resulting geometry is stored in IconData structs for runtime rendering.

License

Licensed under either of:

at your option.

Dependencies

~4.5–6.5MB
~122K SLoC