BlazorOcticons provides GitHub Octicons as native Blazor components. Instead of copying SVG files or managing icon assets manually, you can reference any icon by name and customize size and color directly in your Blazor code. The library keeps your icons consistent with the Octicons set and makes it easier to work with icons in Blazor projects.
Hi everyone 👋
I built BlazorOcticons to make it easier to use GitHub’s Octicons in Blazor projects. I often found myself copying SVGs or maintaining icon folders across solutions, which wasn’t ideal.
This library exposes Octicons as native Blazor components, so you can reference icons by name, style them with parameters, and skip manual SVG management entirely.
I’d love to hear your feedback, suggestions, or any issues you run into. Thanks for checking it out!
Report
Wow, BlazorOcticons is a game changer! Love the idea of using native Blazor components for Octicons. Does it support tree shaking to only include the icons I actually use?
@jaydev13 Thank you! Currently, the main BlazorOcticons NuGet package includes all pre-generated Razor components. When you add the package, the entire set is included in your project. Thanks for the idea, I will investigate how to properly implement it.
Report
Hey Evgeniy – congrats on the BlazorOcticons launch! The native .razor component approach is so much cleaner than raw SVG imports.
If you ever explore AI-assisted maintainer tooling (e.g., auto-docs, multilingual support), I'd love to share Qwen resources – open-source, Apache 2.0, no strings. Either way, rooting for the project. 🚀
Cloudback
Wow, BlazorOcticons is a game changer! Love the idea of using native Blazor components for Octicons. Does it support tree shaking to only include the icons I actually use?
Cloudback
@jaydev13 Thank you!
Currently, the main BlazorOcticons NuGet package includes all pre-generated Razor components. When you add the package, the entire set is included in your project.
Thanks for the idea, I will investigate how to properly implement it.
Hey Evgeniy – congrats on the BlazorOcticons launch! The native .razor component approach is so much cleaner than raw SVG imports.
If you ever explore AI-assisted maintainer tooling (e.g., auto-docs, multilingual support), I'd love to share Qwen resources – open-source, Apache 2.0, no strings. Either way, rooting for the project. 🚀