View Source Phosphoricons.Surface.Icon (Phosphoricons v0.2.5)

A Surface component for rendering Phosphoricons. Shameless copied from https://github.com/miguel-s/ex_heroicons

examples

Examples

<Phosphoricons.Surface.Icon name="academic-cap" type="outline" class="h-4 w-4" />

properties

Properties

  • name :string, required: true - The name of the icon

  • type :string - The type of the icon Required if default type is not configured.

  • class :css_class - The class of the icon

  • opts :keyword, default: [] - All options are forwarded to the underlying SVG tag as HTML attributes