The QIcon component allows you to easily insert icons within other components or any other area of your pages. Quasar currently supports: Material Icons , Font Awesome, Ionicons, MDI, Eva Icons and Themify Icons.


// quasar.conf.js

return {
  framework: {
    components: [



Make sure that you installed the icon library that you are using, otherwise it won’t show up!

Icons name cheatsheet

<q-icon name="..." />
material-iconsNonethumb_upNotice the underline character instead of dash or space
material-icons-outlinedo_o_thumb_upNotice the underline character instead of dash or space; Requires Quasar 1.0.5+
material-icons-roundr_r_thumb_upNotice the underline character instead of dash or space; Requires Quasar 1.0.5+
material-icons-sharps_s_thumb_upNotice the underline character instead of dash or space; Requires Quasar 1.0.5+
ionicons-v4ion-, ion-md-, ion-ios-, ion-logo-ion-heart, ion-logo-npm, ion-md-airplaneUse QIcon instead of <ion-icon> component; Logo icons require ‘ion-logo-’ prefix
fontawesome-v5fa[s,r,l,b] fa-“fas fa-ambulance”QIcon “name” property is same as “class” attribute value in Fontawesome docs examples (where they show <i> tags)
mdi-v3mdi-mdi-alert-circle-outlineNotice the use of dash characters
eva-iconseva-eva-shield-outline, eva-activity-outlineNotice the use of dash characters
themifyti-ti-hand-point-upNotice the use of dash characters

Size & colors

All icons are webfont icons. This means that you can change size by manipulating font-size CSS property. And also, they inherit the current CSS text color used.


For icon properties on different Quasar components you won’t have the means to specify an icon for each platform, but you can achieve the same effect with:

  :icon="$q.platform.is.ios ? 'settings' : 'ion-ios-gear-outline'"

Images instead of webfont

You can also make an icon point to an image URL instead of relying on any webfont, by using the img: prefix.

<q-icon name="img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg" />
<q-btn icon="img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg" ... />
<q-icon name="img:statics/my/path/to/some.svg" />

This is not restricted to SVG only. You can use whatever image type you want (png, jpg, …):

<q-icon name="img:statics/bla/bla/my.png" />
<q-btn icon="img:statics/bla/bla/my.jpg" ... />
<q-input clearable clear-icon="img:statics/bla/bla/my.gif" ... />

All icon related props from Quasar components can make use of this.


Remember that you can place images in your /src/statics folder too and point to them. You don’t always need a full URL.