Skip to content
This repository was archived by the owner on Apr 5, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FontAwesome

This package is no longer maintained.

Font Awesome is the Internet's icon library and toolkit, used by millions of designers, developers, and content creators.

This provides precompiled SVG icons from Font Awesome Free 6.4.2.

Installation

Add FontAwesome to your mix.exs:

defp deps do
  [
    {:fontawesome, "~> 0.3"}
  ]
end

After that, run mix deps.get.

Usage

By default, the regular style is used. If that is not available, solid or brands is used. This could be changed by providing the solid or brands attributes.

Arbitrary HTML attributes can also be passed and applied to the svg tag.

Examples

<FontAwesome.heart />
<FontAwesome.heart solid />
<FontAwesome.heart class="h-4 w-4" />

The docs can be read at https://hexdocs.pm/fontawesome.

This was inspired by the Heroicons library. Huge thanks to its contributors.

This work was supported by Webformix. Huge thanks to them.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages