Available Variables#

The following methods are available to call in your Twig templates:

craft.iconPicker.spritesheet(path)#

Returns the raw contents of an SVG Spritesheet for a provided path. Used to output the spritesheet on your site, inline with your template content.

craft.iconPicker.fontUrl(path)#

Returns the full URL to a font file, provided the given relative path.

Previous ← Caching Next Rendering Icons →