Heroicons for Elixir

This project generates solid, outline, and mini SVG icons from the Heroicons repository.

Author

Serge Aleynikov

Installation

The package can be installed by adding heroiconex to your list of dependencies in mix.exs:

def deps do
  [
    {:heroiconex, "~> 2.0"}
  ]
end

The project’s version matches the version number of Heroicons.

Updating to the latest Heroicons

Run make generate. It will generate the lib/*.ex files using the latest heroicon release.

Usage

In your Phoenix project use the tags referencing functions implemented in this application.

The function names for icons use underscores instead of hyphens.

The following alternatives are available: