stevenpaw / stevens-silverstripe-icons
A whole Set of new icons for SilverStripe CMS
Package info
github.com/StevenPaw/stevens-silverstripe-icons
Language:JavaScript
Type:silverstripe-vendormodule
pkg:composer/stevenpaw/stevens-silverstripe-icons
This package is auto-updated.
Last update: 2026-06-15 14:12:58 UTC
README
This module adds a set of new icons to use in the Sivlerstripe CMS as Elemental Icons, Page Icons or Admin Icons.
Installation
To install, use composer:
composer require stevenpaw/stevens-silverstripe-icons
How to use
To use, simply set the icon in the class using the sp-icon- prefix:
//In Elements: private static $icon = 'sp-icon-news-element'; //In Admins: private static $menu_icon_class = 'sp-icon-news-admin'; //In Pages: private static $cms_icon_class = 'sp-icon-news-page';
Colored Icons
There is also the option to use colored icons by adding the -currentColor suffix to the class name, e.g. sp-icon-news-element-currentColor. These are currently only tested in the CMS-Sidebar for use with the CMS Theme Module for example.