Kino.Toast.Icons (kino_toast v0.1.3)
View SourceProvides a type-safe list of all supported free FontAwesome icons.
Summary
Functions
Generates a FontAwesome HTML tag for the icon with the given text color. Raises if invalid.
Returns the list of valid FontAwesome free icon names.
Validates whether the given string is a supported icon.
Types
@type fa_icon() :: String.t()
A string representing a supported FontAwesome icon.
See the full list in Kino.Toast.Icons.icons/0
or visit FontAwesome Free Icons.
Functions
Generates a FontAwesome HTML tag for the icon with the given text color. Raises if invalid.
@spec icons() :: [String.t()]
Returns the list of valid FontAwesome free icon names.
Validates whether the given string is a supported icon.