You are viewing an older version of the Icon Picker documentation (2.x).
View the latest version (3.x) →
Template Guides
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.
Last updated: May 2, 2026, 3:19:09 PM