Skip to content
On this page

Icon

When To Use

When there is a need to use icons, this component can provide various icon support and be used with icones

Examples

SVG icons of different sizes

<template>
  <h-icon icon="ant-design:bell-twotone" />
  <h-icon icon="ant-design:alert-twotone" :size="30" />
  <h-icon icon="ant-design:bulb-twotone" :size="40" />
</template>

API

Props

PropertyDescriptionTypedefault
iconicon field on iconesstring
sizeicon sizenumber14