A toolkit for working with icons in the block editor.
A growing set of icon enhancements for the block editor, served through the existing Gutenberg icon picker.
Insert icons mid-text through a new Inline icon button in the rich-text toolbar (paragraph, heading, list, button, etc.). The picker lists every icon registered with the core core/icon block. See docs/icons.md for the full guide.
Looking to register your own custom icons (or remove the ones that ship with WordPress)? See my Icons Extended plugin.
- Download the latest release ZIP from the Releases page.
- Go to Plugins > Add New > Upload Plugin in your WordPress admin area.
- Upload the ZIP file and click Install Now.
- Activate the plugin.
To include this plugin as a dependency in your Composer-managed WordPress project:
- Add the plugin to your project using the following command:
composer require outstand/icons- Run
composer install. - Activate the plugin from your WordPress admin area or using WP-CLI.
- In a post or page, select text in any paragraph/heading and click the Inline icon button in the rich-text toolbar.
- Pick an icon from the popover.
- Save — the frontend renders
<span class="os-icons-inline"><svg>…</svg></span>inheritingcurrentColor.
- WordPress 7.0 or higher — required for the
WP_Icons_RegistryAPI used to render registered SVGs - PHP 8.2 or higher
PHP tests run inside a wp-env container:
npm run test:setup # first time only — starts Docker WP + test DB
npm run test:unitAll notable changes to this project are documented in CHANGELOG.md.
This project is licensed under the GPL-3.0-or-later.