Tag
An input field which dynamically creates tags.
Text
Color
Usage
vue
<script setup lang="ts">
import { ref } from 'vue';
import { Tag } from '@youcan/ui-vue3';
import type { TagItemValue } from '@youcan/ui-vue3/dist/types/components/Tag/types';
const tags = ref<TagItemValue[]>([]);
</script>
<template>
<Tag v-model="tags" type="text" />
</template>