Heroicons (Heroicons v0.4.1) View Source
This library provides Phoenix Components for every Heroicon.
See Heroicons.Outline
, Heroicons.Solid
and Heroicons.Mini
for the three styles of icon.
Examples
<Heroicons.Outline.adjustments_vertical />
<Heroicons.Solid.arrow_right_circle class="w-6 h-6" />
<Heroicons.Mini.bell class="w-4 h-4" />
Can also be used as a function
<%= Heroicons.Outline.adjustments_vertical() %>
<%= Heroicons.Solid.arrow_right_circle(class: "w-6 h-6") />
<%= Heroicons.Mini.bell(class: "w-4 h-4") />
This library comes pre-packaged with the icons from Heroicons version 2.0.10
,
but can be locally configured and updated. See Mix.Tasks.Heroicons.Update
for details
Heroicons are designed by Steve Schoger
Link to this section Summary
Link to this section Functions
Returns the configured Heroicons version.