<standard:icon>
AJAX
ajax:delayedload ajax:event ajax:navigation ajax:region
Data
data:calendar data:column data:eventrepeater data:postrepeater data:productbrandrepeater data:productcategoryrepeater data:productrepeater data:repeater data:table data:template data:tree
Forms
forms:address forms:captcha forms:checkbox forms:checkboxgroup forms:codeeditor forms:combobox forms:datepicker forms:dialogbox forms:editbox forms:fileupload forms:form forms:hidden forms:money forms:officeuseregion forms:option forms:password forms:paymentmethod forms:radiobutton forms:radiobuttongroup forms:row forms:searchbox forms:signature forms:slider forms:spinbox forms:submitbutton forms:submitimage forms:submitlink forms:successcontent forms:textarea forms:timepicker
Layout
layout:gallery layout:productgallery layout:rotator layout:stepper layout:stepperpanel layout:tablist layout:tablistitem
Logic
logic:dependency logic:else logic:if logic:include logic:parse logic:variable
Navigation
navigation:breadcrumbs navigation:item navigation:primary navigation:secondary
Personalisation
personalisation:firstname personalisation:fullname personalisation:lastname personalisation:other
Standard
standard:embed standard:icon
ATTRIBUTES
EXAMPLES
standard:image standard:link standard:script standard:tooltip standard:video
Templates
templates:button templates:card templates:column templates:fancybox templates:faq templates:flexlayout templates:header templates:row templates:section templates:styles templates:teammember templates:testimonial
Regions
regions:content regions:contentadditional regions:security regions:togglable
Third Party
thirdparty:googlemap thirdparty:googlemapmarker

`<standard:icon />`

Embed an icon from an icon framework, such as FontAwesome.
Recommended for editing using the HTMLEditor.

Attributes

- `height`
string
Height

Sets the height of the element. The default units are pixels. include the percentage symbol % to user percentage values.
- `iconName`
string
The name of the icon, as it appears inside the selected libarary. For example, address-book.
- `iconStyle`
string
Denotes the style family that they icon belongs to within the library. For example, solid
- `id`
string
Give this control a unique id. Can be accessed in the client DOM (eg, document.getElementById('myid') or in the server DOM using [? $myid ?] or [? $('myid') ?]).
- `width`
string
Width

Sets the width of the element. The default units are pixels. include the percentage symbol % to user percentage values.
- `library`
string
The library the icon belongs to. Supported libraries: fontawesome.
- `size`
string
The size of the icon. Default is 3, other valid sizes are 1 through to 10, which scales the font size from 1em (1) to 3.7em (10).

Examples

Icon with Link

Add an envelope icon with a link to contact us page

HTML:

<a href="/contact/"> <standard:icon library="fontawesome" name="envelope" size="4" style="width: 45px; height: 45px; background-color: #4b91e2; color: #ffffff; padding: 11px" /> </a>

Run Example