UI Component library
Skip to main content
Icon Sizes
Moodle icons are usually rendered using the template {{pix}}
helper.
For example:
{{#pix}}t/up, moodle, {{#str}} up, moodle {{/str}}{{/pix}}
which results in
<i class="icon fa fa-arrow-up fa-fw " title="Up" aria-label="Up"></i>
Controlling the icon size
Use the icon-size-x
classes to control the icon sizes.