# Icon Picker Macro

Last modified by superadmin on 2017/11/28 14:52

#### Export

#### Office Formats

Export as PDF Export as ODT Export as RTF

#### Other Formats

Export as HTML

# 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>Field 1: <input type="text" id="myPicker" /></p>
<p>Field 2: <input type="text" class="fieldWithPicker" /></p>
{{/html}}
{{iconPicker id="myPicker" class="fieldWithPicker" prefix="icon:" /}}

## Play with it

Field 1:

Field 2:

Tags:
Created by superadmin on 2014/12/04 11:33

- Comments (0)
- Attachments (0)
- Information

# Applications

# Tips

Did you know that you can improve XWiki? Take 5 minutes to fill this survey and help this open source project!

# Need help?

If you need help with XWiki you can contact:

- Community Support
- Professional Support