Icon template ============= Use this partial to easily display icons in the frontend. The icon component requires at least the parameter ```icon```: ``` ``` Use the ```ratio``` parameter to scale the icon up or down: ``` ``` It is also possible to append your own CSS class(es), by providing the ```class``` parameter: ``` ``` In certain situations it may be necessary to use inline css instead of classes. In this case, make use of the ```style``` parameter: ``` ``` You may have noticed it already, but the above example is also a special case: by adding the class ```uk-icon-image```, in combination with the style declaration ```background-image: url(...);```, the given background image will be scaled to the size of an icon. To avoid that the background image is overlayed by a "real" icon, I set the ```icon``` parameter to ```false```. With the icon component, it is also possible to create an icon anchor, just by providing the ```href``` parameter: ``` ```