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 o
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