Download the PHP package oliverthiele/ot-iconselector without Composer
On this page you can find all versions of the php package oliverthiele/ot-iconselector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oliverthiele/ot-iconselector
More information about oliverthiele/ot-iconselector
Files in oliverthiele/ot-iconselector
Package ot-iconselector
Short Description Icon Selector - TYPO3 backend form element for selecting FontAwesome icons with AJAX search and SVG preview
License GPL-2.0-or-later
Homepage https://www.oliver-thiele.de
Informations about the package ot-iconselector
Icon Selector — TYPO3 Backend Icon Picker
Custom backend form element for selecting SVG icons with AJAX search, live preview and a favorites system.
Features
- AJAX icon search — type-ahead search through thousands of SVG icons with debounced requests
- SVG preview — inline SVG rendering in search results and selected state
- Multi-term search — space-separated words are combined with AND logic (e.g. "chevron right")
- Keyboard navigation — arrow keys, Enter to select, Escape to close
- Favorites modal — integrator-defined and personal editor favorites, accessible via a star button
- SiteSet configuration — icon directory, style and favorites configurable per site
- No vendor lock-in — works with any SVG icon set (FontAwesome, Bootstrap Icons, custom icons)
- Non-breaking integration — stores plain string identifiers, existing values remain compatible
Requirements
| Requirement | Version |
|---|---|
| TYPO3 | ^14.3 |
| PHP | >=8.4 |
Installation
Then run the TYPO3 setup:
Configuration
1. Include the SiteSet
Add oliverthiele/ot-iconselector to your site configuration's dependencies.
2. Configure the icon directory
The extension reads the icon directory from the otIcons.iconDirectory and otIcons.defaultIconStyle site settings (provided by oliverthiele/ot-icons). Alternatively, set them directly in TCA:
3. Configure favorites (optional)
Set integrator favorites in your site settings:
Editors can add personal favorites via the star toggle in search results.
Usage
Register the otIconSelector render type on any type: input field:
The field stores a plain string identifier (e.g. chevron-right). The database column remains a standard varchar — no schema changes required.
For conditional usage (when the extension may not be installed):
License
GPL-2.0-or-later — see LICENSE
Author
Oliver Thiele — oliver-thiele.de