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
Property | Description | Type | default |
---|---|---|---|
icon | icon field on icones | string | |
size | icon size | number | 14 |