4WP Icons Plugin
Lucide icon block with custom SVG, link support, and core block icons. Includes a searchable icon picker for Gutenberg.
Features
- ๐จย Full Lucide Icon Libraryย – Access to all 1000+ Lucide icons
- ๐ย Searchable Icon Pickerย – Easy-to-use visual icon picker with search functionality
- โ๏ธย Customizableย – Adjust size, stroke width, and color
- ๐ย Link Supportย – Wrap icons with a URL (optional new tab)
- ๐งฉย Core Block Iconsย – Add icons to Button, Heading, Paragraph, List, Quote
- ๐ฏย Server-Side Renderingย – Icons are rendered on the server for optimal performance
- ๐ฆย Lightweightย – Minimal dependencies and optimized code
Installation
- Install dependencies:
npm install
- Build the plugin:
npm run build
- Activate the plugin in WordPress admin.
Documentation
Full documentation and usage guide: https://4wp.dev/plugin/4wp-icons/
Development
Start the build process in watch mode:
npm start
Usage
- Add the “4WP Icon” block to your page/post
- Click the icon picker button to open the icon browser
- Search for icons or browse through the available options
- Select an icon
- Adjust size, stroke width, and other settings in the sidebar
- The icon color will inherit from the text color setting
Developer
- Plugin page:ย https://4wp.dev/plugin/4wp-icons/
- GitHub:ย https://github.com/4wpdev/4wp-icons
Available Icons
The plugin uses Lucide React icons, providing access to 1000+ beautiful, consistent icons. All icons are available through the searchable icon picker.
Popular icon categories:
- Interface icons (menu, search, settings, etc.)
- Social icons
- Communication icons
- Technology icons
- And many more…
Future Plans
- Heroicons support
- Tabler Icons support
- Phosphor Icons support
- Custom SVG upload support
- Icon support for core and custom blocks
Ready to get started?
Check out the plugin on GitHub and start using it today.