microweber-packages / microweber-svg-icons
Microweber SVG Icons – Blade-Icons-compatible icon set for the Microweber CMS admin panel, modules, and templates.
Package info
github.com/microweber-packages/microweber-svg-icons
pkg:composer/microweber-packages/microweber-svg-icons
Requires
- php: ^8.3
- blade-ui-kit/blade-icons: ^1.6
- illuminate/support: ^11.0||^12.0||^13.0
- microweber-packages/microweber-package: *
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^3.0
- orchestra/testbench: ^9.0||^10.0
- phpunit/phpunit: ^11.0
Suggests
None
Provides
None
Conflicts
None
Replaces
- microweber-packages/svg-icons: *
This package is auto-updated.
Last update: 2026-11-04 15:39:20 UTC
README
A standalone Blade-Icons-compatible package that ships all Microweber CMS SVG icons.
Installation
The package is auto-discovered by Laravel. It registers itself as the mw icon set with Blade Icons.
In the CMS monorepo
The root composer.json already references this package via path repository. After composer install, all icons are available.
Standalone (any Laravel app)
composer require microweber-packages/microweber-svg-icons
Usage
Blade directive
@svg('mw-text', 'h-6 w-6') @svg('mw-checkbox', 'h-8 w-8 text-primary-500') @svg('mw-no-content', 'w-48 h-48')
Blade component
<x-mw-text class="h-6 w-6" /> <x-mw-no-content class="w-48 h-48" />
PHP (Filament icons, etc.)
Tables\Table::make() ->emptyStateIcon('mw-no-content');
Publishing assets
To serve icons via public URL:
php artisan vendor:publish --tag=mw-svg-icons --force
Icons will be available at /vendor/microweber-packages/microweber-svg-icons/<name>.svg.
Available icons
| Name | Blade usage |
|---|---|
| text | mw-text |
| numbers | mw-numbers |
| checkbox | mw-checkbox |
| dropdown | mw-dropdown |
mw-email |
|
| hidden | mw-hidden |
| radio-checked | mw-radio-checked |
| no-content | mw-no-content |
| no-pages | mw-no-pages |
| no-products | mw-no-products |
| no-orders | mw-no-orders |
| no-categories | mw-no-categories |
| no-clients | mw-no-clients |
| no-invoices | mw-no-invoices |
| no-notifications | mw-no-notifications |
| ... | See SvgIconsServiceProvider::availableIcons() for the full list |
Naming convention
All icon filenames use lowercase kebab-case (my-icon.svg). No underscores, no camelCase.
Testing
cd packages/microweber-svg-icons
composer install
vendor/bin/phpunit
vendor/bin/phpstan analyse
License
MIT
Authors
Part of Microweber, built by:
- Peter Ivanov
- Bozhidar Slaveykov