Files
phosphoricons/lib/heroicons.ex

20 lines
577 B
Elixir
Raw Normal View History

2021-03-03 17:35:03 -05:00
defmodule Heroicons do
@moduledoc """
2021-11-12 12:02:26 -05:00
This library provides Phoenix Components for every [Heroicon](https://github.com/tailwindlabs/heroicons).
See `Heroicons.Outline` and `Heroicons.Solid` for the two styles of icon.
2021-03-03 17:35:03 -05:00
2021-11-12 12:02:26 -05:00
## Examples
<Heroicons.Outline.adjustments />
2021-03-03 17:35:03 -05:00
2021-11-12 12:02:26 -05:00
<Heroicons.Solid.arrow_circle_right class="w-6 h-6" />
Can also be used as a function
2021-11-12 12:02:26 -05:00
<%= Heroicons.Outline.adjustments() %>
<%= Heroicons.Solid.arrow_circle_right(class: "w-6 h-6") />
2021-03-03 17:35:03 -05:00
2021-11-12 09:09:03 -05:00
Heroicons are designed by [Steve Schoger](https://twitter.com/steveschoger)
"""
2021-03-03 17:35:03 -05:00
end