Skip to content

JJConsulting/JJConsulting.FontAwesome

Repository files navigation

JJConsulting.FontAwesome

A lightweight enum-based representation of Font Awesome icons.

Originally created for internal use with Font Awesome v4, the library also supports v6+, including brands and other modern icon groups. In the future, additional enums can be added in the future as new icon sets or categories are introduced.

Features

  • Strongly typed icon definitions using an enum
  • Property access for retrieving the icon’s identifier and CSS class
  • Easy retrieval of all available icons
  • Backward compatibility with v4 and forward support for v6+ icon families

Usage

Accessing an Icon

var icon = FontAwesomeIcon.Empire;
var id = icon.Id;
var css = icon.CssClass;

Getting All Icons

var icons = FontAwesomeIcon.GetAll();

About

A lightweight C# enum-based representation of Font Awesome icons.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages