Title: SVG Icon Block
Author: Binsaifullah
Published: <strong>अक्टूबर 3, 2024</strong>
Last modified: नवम्बर 14, 2026

---

Search plugins

![](https://ps.w.org/svg-icon-block/assets/banner-772x250.png?rev=3801485)

![](https://ps.w.org/svg-icon-block/assets/icon.svg?rev=3801485)

# SVG Icon Block

 [Binsaifullah](https://profiles.wordpress.org/binsaifullah/) लिखले बारे

[डाउनलोड](https://downloads.wordpress.org/plugin/svg-icon-block.1.2.1.zip)

 * [Details](https://bho.wordpress.org/plugins/svg-icon-block/#description)
 * [समीक्षा](https://bho.wordpress.org/plugins/svg-icon-block/#reviews)
 *  [Installation](https://bho.wordpress.org/plugins/svg-icon-block/#installation)
 * [Development](https://bho.wordpress.org/plugins/svg-icon-block/#developers)

 [मदद](https://wordpress.org/support/plugin/svg-icon-block/)

## बिबरन

**SVG Icon Block** is a lightweight Gutenberg block for adding SVG icons anywhere
in the WordPress block editor. Pick from more than 1,800 Font Awesome icons, paste
your own SVG code, or upload an SVG file. Then style the icon with size, color, 
background, border, rotation and flip controls.

Icons are output as inline SVG markup, not an icon font. Your pages don’t load an
extra font file or stylesheet, icons stay sharp on every screen, and the Font Awesome
data loads in the editor only when you open the icon library.

### Video Tutorial

### Three ways to add an icon

 * **Icon Library** – search 1,800+ Font Awesome Free icons (Solid, Regular and 
   Brands) and insert one with a click.
 * **Custom SVG** – paste SVG code from Figma, Illustrator, Inkscape or any icon
   set. The markup is validated and previewed on light, dark and transparent backgrounds.
 * **Upload SVG** – upload an `.svg` file to the Media Library, or drop it straight
   into the editor. SVG uploads are enabled safely, with every file sanitized.

### Features

 * 1,800+ Font Awesome SVG icons (Solid, Regular and Brands)
 * Custom SVG code with live preview and markup validation
 * Safe SVG upload support for the Media Library
 * **My Icons** – save your own SVG icons once and reuse them in any post or page
 * Icon size, fill, stroke and hover colors, background, padding, border and border
   radius
 * Responsive size, spacing and alignment for desktop, tablet and mobile
 * Rotate and flip icons horizontally or vertically
 * Optional text label next to the icon, with typography controls
 * Link an icon to any URL, with new tab, nofollow and sponsored options
 * Accessible: alternative text for icons, plus a warning when an icon-only link
   has no accessible name
 * Additional CSS class and HTML anchor support
 * Works with block themes, classic themes and Full Site Editing
 * Lightweight with no third-party dependencies, and only the SVG markup is rendered

### My Icons: a reusable SVG icon library

Paste your SVG code in the Custom SVG window, turn on **Add to My Icons**, give 
it a label, and the icon is saved to your site. A **My Icons** button then appears
in the block placeholder, so you can insert that icon in any post or page without
pasting the code again.

The library is shared by everyone on the site who can edit posts. A logo or brand
icon saved by one author is available to the whole team. You can search and remove
saved icons from the same window.

### Secure SVG support

SVG files can contain scripts, so WordPress blocks SVG uploads by default. SVG Icon
Block enables them safely: every uploaded file, pasted SVG code and saved icon goes
through an allow-list sanitizer that removes scripts, event handlers, unsafe links
and external references before anything is stored.

### Use cases

 * Feature lists and service boxes with icons
 * Social media icons and brand logos
 * Icon buttons and call-to-action links
 * Contact details with phone, email and map icons
 * Custom illustrations and logos as scalable SVG

## Screenshots

[⌊Font Awesome icon library with search inside the SVG Icon block.⌉⌊Font Awesome
icon library with search inside the SVG Icon block.⌉[

Font Awesome icon library with search inside the SVG Icon block.

## Blocks

This plugin provides 1 block.

 *   SVG Icon Add an icon from Font Awesome, your own SVG code, or an uploaded SVG
   file.

## Installation

 1. In your WordPress dashboard, go to **Plugins  Add New** and search for “SVG Icon
    Block”.
 2. Click **Install Now**, then **Activate**.
 3. Open the block editor, click the **+** inserter and add the **SVG Icon** block.
 4. Choose an icon from the Icon Library, paste custom SVG code, or upload an SVG file.

To install manually, upload the `svg-icon-block` folder to `/wp-content/plugins/`
and activate it from the **Plugins** screen.

## FAQ

### How do I add an SVG icon in the WordPress block editor?

Add the **SVG Icon** block from the inserter, then pick an icon from the Icon Library,
paste SVG code with **Custom SVG**, or upload an `.svg` file. Use the block sidebar
to change size, color and other styles.

### Does this plugin load Font Awesome on the front end?

No. Each icon is saved as inline SVG markup, so no icon font, CSS file or JavaScript
from Font Awesome is loaded on your site’s front end.

### Can I upload my own SVG icons?

Yes. You can upload `.svg` files to the Media Library, drop them into the editor,
or paste SVG code directly. Turn on **Add to My Icons** to save an icon for reuse.

### Is it safe to allow SVG uploads?

The plugin sanitizes every SVG with an allow-list before it is saved. Scripts, event
handlers, unsafe links and external references are removed, so a malicious file 
can’t run code on your site.

### Can Authors and Contributors use the block?

Yes. Icons display correctly for users without the `unfiltered_html` capability,
including on Multisite networks.

### Can I link an icon?

Yes. Add a URL in the block settings and choose whether it opens in a new tab or
uses nofollow or sponsored. For icon-only links, add alternative text so screen 
readers can announce the link.

### Can I change the icon color on hover?

Yes. The block has separate normal and hover colors for the icon fill, stroke, label
and background.

### Does it work with Full Site Editing and block themes?

Yes. You can use the SVG Icon block in posts, pages, templates, template parts and
patterns.

## समीक्षा

There are no reviews for this plugin.

## Contributors & Developers

“SVG Icon Block” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ Binsaifullah ](https://profiles.wordpress.org/binsaifullah/)
 *   [ gkits ](https://profiles.wordpress.org/gkits/)

“SVG Icon Block” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/svg-icon-block/contributors)
for their contributions.

[Translate “SVG Icon Block” into your language.](https://translate.wordpress.org/projects/wp-plugins/svg-icon-block)

### Interested in development?

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

## Changelog

#### 1.2.1

 * Improved: New plugin icon and banner
 * Improved: Rewrote the plugin description, features list and FAQ
 * Tested up to WordPress 7.1

#### 1.2.0

 * Fixed: Icons no longer vanish when saved by Authors, Contributors, or on Multisite(
   users without unfiltered HTML)
 * Fixed: Adding a background image no longer drops every other style of the block
   on the front end
 * Fixed: SVG code typed in the sidebar is now sanitized, and invalid markup no 
   longer replaces the icon
 * Added: Alternative text for icons, with a warning for icon-only links that have
   no accessible name
 * Added: Additional CSS class and HTML anchor settings
 * Added: Popular icons in the block placeholder for one-click insert
 * Improved: Redesigned icon library, Custom SVG window, My Icons window and block
   placeholder
 * Improved: Removing a saved icon from My Icons now asks for confirmation, since
   the library is shared site-wide
 * Improved: Custom SVG window validates markup, previews on light, dark and transparent
   backgrounds, and accepts dropped .svg files
 * Improved: Font Awesome data loads only when needed, making the editor script 
   about 88% smaller

#### 1.1.0

 * Added: My Icons library – save a custom SVG with “Add to My Icons” and reuse 
   it in any block
 * Added: My Icons button in the block placeholder to pick a saved icon, with search
   and remove
 * Fixed: SVG upload no longer failed on icons exported from Illustrator, Inkscape
   and similar tools
 * Fixed: An SVG that could not be parsed is now rejected with a clear message instead
   of being saved empty
 * Fixed: SVG uploads sent through the REST API (drag and drop into the editor) 
   are accepted
 * Fixed: PHP notices while preparing SVG attachments, which could break the upload
   response
 * Fixed: Link is no longer clickable inside the editor, so an accidental click 
   does not navigate away
 * Improved: SVG sanitizer rewritten to an allow-list, stripping scripts, event 
   handlers, unsafe links and external references
 * Improved: SVG width, height and previews now display correctly in the media library

#### 1.0.6

 * Compatibility check

#### 1.0.5

 * Transform features (rotate, flip) are added
 * Dynamic CSS codes are optimized

#### 1.0.4

 * Compatibility with WordPress 6.8

#### 1.0.3

 * Added: Edit SVG Icon option at sidebar
 * Improved: Search functionality for icons
 * Optimized: Codes are optimized

#### 1.0.2

 * Added: Direct SVG upload option
 * Added: SVG format support for direct upload

#### 1.0.1

 * Compatibility with WordPress 6.7.1

#### 1.0.0

 * Initial Release

## मेटा

 *  Version **1.2.1**
 *  Last updated **11 hours पहिले**
 *  Active installations **1,000+**
 *  WordPress version ** 6.0 चाहे एकरो से ऊपर **
 *  Tested up to **7.1.4**
 *  PHP version ** 7.4 चाहे एकरो से ऊपर **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/svg-icon-block/) and [Russian](https://ru.wordpress.org/plugins/svg-icon-block/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/svg-icon-block)
 * Tags
 * [Font Awesome](https://bho.wordpress.org/plugins/tags/font-awesome/)[gutenberg](https://bho.wordpress.org/plugins/tags/gutenberg/)
   [icon-block](https://bho.wordpress.org/plugins/tags/icon-block/)[SVG icon](https://bho.wordpress.org/plugins/tags/svg-icon/)
   [svg upload](https://bho.wordpress.org/plugins/tags/svg-upload/)
 *  [Advanced View](https://bho.wordpress.org/plugins/svg-icon-block/advanced/)

## रेटिंग्स

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/svg-icon-block/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/svg-icon-block/reviews/)

## Contributors

 *   [ Binsaifullah ](https://profiles.wordpress.org/binsaifullah/)
 *   [ gkits ](https://profiles.wordpress.org/gkits/)

## मदद

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/svg-icon-block/)