- Lists icons from a provided folder
- Saves icon path / filename relative to the
Icon Folder Pathfield config
composer require newism/craft-icon-picker -w && php craft plugin/install icon-pickerEach field has independent configuration.
Icon Folder Path: Path to the icon folder. eg:@root/public/iconsIcon Folder Url: Public URL for icons. eg:@web/icons
Note: Icons must be accessible from a public URL
Use the svg() method combined with the saved field value to output the contents of the .svg file.
{{ svg("@root/public/icons/#{entry.fieldHandle}" }}- Write docs
- Release it