Skip to main content

Icon

The Icon component provides a large set of glyphs to provide context to various aspects of your application.

info

For more details about Vuetify’s usage of Icon component, click Icon page.
For more prop explanations, click Vuetify Icon API page.

Props

AttributeDescriptionTypeDefault
darkApplies the dark theme variant to the component. You can find more information on the Material Design documentation for dark themes.booleanfalse
disabledDisable the input.booleanfalse
largeMakes the component large.booleanfalse
smallMakes the component small.booleanfalse
tagSpecifies a custom tag to be used.string'i'
xLargeMakes the component extra large.booleanfalse
xSmallMakes the component extra small.booleanfalse
textName of Icon.string'mdi-home'
visibleVisibility of Icon component.booleantrue

Events

AttributeDescription
clickwhere the actions to be performed when clicked are indicated

Usage of Material Design Icons

The icons in Material Design Icons can be used. The icons in this address can be used by adding the mdi- prefix in front of any selected icon in the text property of the Icon component.

  • In order to use the mdi-alert-circle icon, click the "Advanced Export" button after selecting the icon.

Advanced_Export

  • You can use the icon suffix in "Custom Name" in the opened field as mdi-{{suffix}}

Custom_Name

For spinning icons, add mdi-spin class to the text property.

Samples QJson

Icon_Samples