Heroicons
Generated heroicon Surface components
Usage
Alias either module (Solid, Outline)
in a surface component, and use it!
alias Heroicons.{Solid, Outline}
def render(assigns) do
~H"""
<Solid name="briefcase" />
<Outline name="briefcase" />
"""
end
Installation
If available in Hex, the package can be installed
by adding heroicons
to your list of dependencies in mix.exs
:
def deps do
[
{:heroicons, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/heroicons.