# Icon Picker Macro

Редактировал(а) Alexandr Fokin 2025/09/20 12:16

# Usage

{{iconPicker id="" class="" prefix="" /}}

Where:

id (optional) | DOM id of the input field where the picker will apply
class (optional) | CSS class of inputs where the picker will apply
prefix (optional) | Prefix to add before the name of the icon in the input field (default: "image:icon:")

## Live example

{{html}}
<p><label>Field 1: <input type="text" id="myPicker" /></label></p>
<p><label>Field 2: <input type="text" class="fieldWithPicker" /></label></p>
{{/html}}
{{iconPicker id="myPicker" class="fieldWithPicker" prefix="icon:" /}}

## Play with it

Field 1:

Field 2:

Создал(а) Alexandr Fokin 2021/12/25 16:13

- Комментарии (0)
- Вложения (0)
- История
- Информация

## Приложения