New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

twithers/icons-plus

7,063 1
Install
composer require twithers/icons-plus
Latest Version:v2.0.1
Laravel:12 · 13
Last Updated:Jul 16, 2026
Links: GitHub  ·  Packagist
Maintainer: TWithers

Icons Plus for Statamic

Icons Plus is a fieldtype that leverages https://iconify.design to provide a searchable list of open source icons for use in your Statamic site. Icons are stored both as a URL and SVG so they can be used as desired in templates.

Features

  • Super easy to install and use
  • Provides some configuration options for the fieldtype including icon library restrictions

How to Install

You can install this addon via Composer:

composer require twithers/icons-plus

If you are using Statamic v5 or below, use version 1.1.0:

composer require twithers/icons-plus:1.1.0

How to Use

After adding the fieldtype to your blueprint, you can then store a selected icon.

The stored icon has the following keys:

iconPrefix

The prefix of the icon. This is used to identify the icon library.

iconName

The name of the icon. This is used to identify the specific icon within the library.

label

The prefix + name of the icon, separated by a :.

iconUrl

The URL of the icon. This is the URL to the SVG file. This allows for use in <img src="https://raw.githubusercontent.com/TWithers/icons-plus/HEAD/{{ iconUrl }}" />.

iconSvg

The SVG of the icon. This is the SVG markup for the icon. This allows for use in {!! iconSvg !!}.

Usage in Templates

The tag {{ icons_plus }} is available to use in your templates. It can be used as context or as a tag pair.

The alias {{ ip }} is also available for the tag.

Context

{{ selected_icons_plus_icon }}
    {{ icons_plus }}
{{ /selected_icons_plus_icon }}

The tag will resort to the stored SVG first, and fall back on fetching the icon svg via cached http request.

As a standalone tag

{{ icons_plus :icon="selected_icons_plus_icon" }}

Wildcard support

You can also use the icon's collection and name to render an icon via API:

{{ icons_plus:heroicons:chart-pie }}

Attibute support

All attributes are supported:

{{ icons_plus :icon="selected_icons_plus_icon" class="w-6 h-6 text-blue-500" x-data="" @click="console.log('clicked')" }}

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

429,221,767 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664

Version History

Version Released License
v2.0.1
v2.0.0
v1.1.0
v1.0.0