Phoenix Octicons v0.4.0 PhoenixOcticons View Source

Provides helper functions for including GitHub Octicons in your Phoenix templates.

Examples

Inserts a normal-sized beaker icon in the template.

<%= octicon(:beaker) %>

Inserts a mega-sized (32 pixels) squirrel icon in the template.

<%= mega_octicon(:squirrel) %>

Link to this section Summary

Functions

Inserts a mega-sized (32 pixels) octicon in the current location in the template.

Inserts a normal-sized octicon in the current location in the template.

Link to this section Functions

Link to this function

mega_octicon(name, options \\ []) View Source

Inserts a mega-sized (32 pixels) octicon in the current location in the template.

Inserts a normal-sized octicon in the current location in the template.