kui-vue
Version:
A lightweight desktop UI component library suitable for Vue.js 2.
24 lines (22 loc) • 399 B
Markdown
<cn>
### 点
设置 `dot` 来展示一个点
</cn>
```vue
<template>
<Space vertical>
<Badge dot>
<div class="badge-box"></div>
</Badge>
<Badge dot>
<Icon :type="NotificationsOutline" />
</Badge>
<Badge dot>
<a href="#">我是一个连接</a>
</Badge>
</Space>
</template>
<script setup>
import { NotificationsOutline } from "kui-icons";
</script>
```