Available Variables#

The following are common methods you will want to call in your front end 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 ← Rendering Icons Next Icon →

Get started with Icon Picker

Available for Craft 4. Get it from the plugin store.