Releases: eminos/statamic-iconify
Releases · eminos/statamic-iconify
v2.1.0
🎨 Icon Set Filtering & Configuration
This release adds powerful filtering capabilities to control which icons are available to your content editors.
Highlights
Global config file — Publish config/statamic-iconify.php to lock down allowed icon sets, categories, and licenses site-wide.
php artisan vendor:publish --tag=statamic-iconify-configField-level filtering — Each Iconify field in your blueprints gets three new config dropdowns:
- Icon Sets — multi-select, populated from the Iconify API
- Category — single select (General, UI 24px, Emoji, Thematic, etc.)
- Licenses — multi-select (MIT, Apache 2.0, CC BY 4.0, etc.)
Field config can only narrow within what the global config allows — never widen.
Dark mode fixes — Grid hover labels now use Statamic UI Badge components for proper light/dark theming.
What's new
- Publishable config with
allowed_prefixes,allowed_categories,allowed_licenses, anddefault_store_as - Field-level icon set, category, and license filtering via native Statamic select dropdowns
- Dropdowns auto-populated from the Iconify
/collectionsAPI (cached 24h) - Color-coded filter badges in the search modal (purple for sets, blue for category, green for licenses)
- Grouped badge display with tooltip for long lists (e.g. "Sets: mdi, tabler +3 more")
- Pest (PHP) and Vitest (JS) test suites
- CP endpoint
GET /iconify/configfor frontend config access
Fixes
- Icon tag no longer crashes when field value is a plain string
- Grid card hover labels clip properly to rounded corners
Example config
// config/statamic-iconify.php
return [
'allowed_prefixes' => ['mdi', 'tabler', 'heroicons', 'ph'],
'allowed_categories' => [],
'allowed_licenses' => ['MIT', 'Apache 2.0'],
'default_store_as' => 'name',
];Full Changelog: v2.0...v2.1.0
v2.0
v1.3.0
- fix deprecated array_get() method (Statamic 5)
- add support for Statamic 5.3 dark mode
Full Changelog: v1.2.0...v1.3.0
v1.2.0
- add Statamic 5 support
- fix stack header styling issue
Full Changelog: v1.1.0...v1.2.0