.. include:: /Includes.rst.txt
renderingOptions.templateVariant
--------------------------------

:aspect:`Option path`
      TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Form.renderingOptions.templateVariant

:aspect:`Data type`
      array

:aspect:`Needed by`
      Frontend

:aspect:`Overwritable within form definition`
      Yes

:aspect:`form editor can write this property into the form definition (for prototype 'standard')`
      No

:aspect:`Mandatory`
      No

:aspect:`Default value (for prototype 'standard')`

      .. code-block:: yaml

         templateVariant: version1

:aspect:`Description`
      Set this option to `version2` to use Bootstrap 5 compatible and
      accessible templates.
