Title: Safesprite Icons
Author: kian babaabady
Published: <strong>September 22, 2026</strong>
Last modified: September 22, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/safesprite-icons.svg)

# Safesprite Icons

 By [kian babaabady](https://profiles.wordpress.org/kianbabai09/)

[Download](https://downloads.wordpress.org/plugin/safesprite-icons.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/safesprite-icons/#description)
 * [Reviews](https://wordpress.org/plugins/safesprite-icons/#reviews)
 *  [Installation](https://wordpress.org/plugins/safesprite-icons/#installation)
 * [Development](https://wordpress.org/plugins/safesprite-icons/#developers)

 [Support](https://wordpress.org/support/plugin/safesprite-icons/)

## Description

Safesprite Icons lets you manage brand icons in a dedicated plugin library (collections/
folders), sanitize every upload, and render icons with a lightweight `<use>` reference
plus a single footer spritesheet.

#### Security first

 * SVG uploads are accepted **only** through the plugin Icon Library
 * This plugin does **not** enable SVG uploads in the WordPress Media Library
 * Uploads are sanitized with the vendored `enshrined/svg-sanitize` library (GPL-
   2.0-or-later), shipped inside the plugin
 * Front-end output uses sanitized `<symbol>` sprites + `<use>` — not raw uploaded
   files as `<img src>`

#### Features

 * Collections (one collection per icon)
 * Rename icon titles and collection names (slugs stay stable)
 * Trash / restore / permanent delete
 * Shortcode: `[sfsi_icon slug="my-icon"]`
 * PHP helper: `sfsi_icon( 'my-icon' )`
 * Gutenberg block
 * TinyMCE button
 * Elementor widget (loads only when Elementor is active)
 * Nav menu item icons

## Blocks

This plugin provides 1 block.

 *   SVG Icon

## Installation

 1. Upload the `safesprite-icons` folder to `/wp-content/plugins/`
 2. Activate the plugin through the Plugins menu
 3. Open **Safesprite** in wp-admin, create a collection, upload SVGs
 4. Insert icons via block, shortcode, TinyMCE, menus, or Elementor

## FAQ

### Does this allow SVG in the Media Library?

No. Icons are managed only in the plugin library.

### Where are files stored?

Sanitized SVG files live under `wp-content/uploads/safesprite-icons/` with opaque
filenames. Metadata is stored in plugin custom tables (not as custom post types).

### What happens on uninstall?

By default, data is kept. Enable “Delete all plugin data on uninstall” under Safesprite-
> Settings if you want tables and files removed.

### What PHP extensions are required?

PHP 7.4+ with the `dom` and `libxml` extensions (used by the SVG sanitizer).

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Safesprite Icons” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ kian babaabady ](https://profiles.wordpress.org/kianbabai09/)

[Translate “Safesprite Icons” into your language.](https://translate.wordpress.org/projects/wp-plugins/safesprite-icons)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/safesprite-icons/),
check out the [SVN repository](https://plugins.svn.wordpress.org/safesprite-icons/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/safesprite-icons/)
by [RSS](https://plugins.trac.wordpress.org/log/safesprite-icons/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * First wordpress.org release candidate
 * Secure Icon Library with sanitized uploads and footer spritesheets
 * Gutenberg, Elementor, TinyMCE, Nav Menus, shortcode, and PHP helper
 * Hardened SVG sanitization (no Media Library SVG enablement)

#### 0.2.15

 * Security: strip SVG `<style>` / `style=` and remote hrefs after sanitize
 * Performance: skip upload-dir ensure on front requests; memoize icon lookups
 * Fix: nav menu icon meta no longer wiped on unrelated saves
 * Packaging: exclude list moved to docs (no `.distignore` in plugin — Plugin Check)

#### 0.2.14

 * Plugins list: Settings action link to Safesprite -> Settings

#### 0.2.13

 * Rename icon titles and collection names (slugs unchanged)
 * Icon picker: search by title or slug
 * Nav menus: icon preview and Clear control

#### 0.2.12

 * Gutenberg editor: size and color preview match Elementor (no fixed admin tile
   CSS)

#### 0.2.11

 * Elementor canvas: fix size slider and custom color live preview

#### 0.2.10

 * Elementor editor: show inline icon preview (canvas has no footer spritesheet)

#### 0.2.9

 * Elementor & Gutenberg: visual icon picker, size slider (16–256px), inherit or
   custom color

#### 0.2.8

 * Trash: bulk select, restore, and permanently delete icons and collections

#### 0.1.0

 * Initial release candidate build

## Meta

 *  Version **1.0.0**
 *  Last updated **1 day ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [elementor](https://wordpress.org/plugins/tags/elementor/)[gutenberg](https://wordpress.org/plugins/tags/gutenberg/)
   [icons](https://wordpress.org/plugins/tags/icons/)[SVG](https://wordpress.org/plugins/tags/svg/)
 *  [Advanced View](https://wordpress.org/plugins/safesprite-icons/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/safesprite-icons/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/safesprite-icons/reviews/)

## Contributors

 *   [ kian babaabady ](https://profiles.wordpress.org/kianbabai09/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/safesprite-icons/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://profiles.wordpress.org/kianbabai09/)