Documentation · ViewHelper reference

Form / Option / IconViewHelper

Icon option

Sets the icon option in the Flux form, which can then be read by extensions using Flux forms. Consult the documentation of extensions which use the icon setting to learn more about how icons are used.

value needs to be the absolute path to the image file, e.g. /typo3conf/ext/myext/Resources/Public/Icons/Element.svg.


<flux:form.option.icon value="/typo3conf/ext/myext/Resources/Public/Icons/Element.svg"/>


  • Tag usage example

    <flux:form.option.icon value="NULL">
    	<!-- tag content - may be ignored! -->
  • Inline usage example

    {flux:form.option.icon(value: 'NULL')}


Argument Description Type

Path and name of the icon file

Required attribute

Revision history