Icon
Props
Prop | Type | Default/Notes |
---|---|---|
icon | String | Default: heart ; Pass an icon, refer to the icon list or guide |
iconText | String | Pass a text character to use instead of an icon, ex: iconText="W" |
spinning | Boolean | Default: false ; Spinning icon (infinite animation) |
Example usage
<template>
<Icon icon="heart" />
</template>
<script>
import { Icon } from 'figma-plugin-ds-vue'
export default {
components: {
Icon
}
}
</script>
Icons
Available icons
Use custom icons