PrimerLive.UIIcons (PrimerLive v0.7.0)

Interface icons that are not part of the Octicons set.

Summary

Functions

Internal use: generates a map of SVG's.

Functions

Link to this function

common_svg_attrs()

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

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

Attributes

  • Global attributes are accepted. Additional HTML attributes added to the svg element.