PrimerLive.UIIcons (PrimerLive v0.1.8)

Link to this section Summary

Functions

Internal use: generates a map of SVG's.

Link to this section Functions

Link to this function

ui_icons(assigns)

Internal use: generates a map of SVG's.

To use the PrimerLive.Component.ui_icon/1 component, write:

<.ui_icon name="icon-name" />

all-ui-icons

All UI icons

<.ui_icon name="single-select-16" />
<.ui_icon name="multiple-select-16" />
<.ui_icon name="collapse-16" />

attributes

Attributes

  • rest (:global) - Additional HTML attributes added to the svg element.