kui-vue
Version:
A lightweight desktop UI component library suitable for Vue.js 2.
23 lines (21 loc) • 409 B
Markdown
<cn>
### 基本用法
通过 `title` 和 `icon` 可设置标题和图标
</cn>
```vue
<template>
<div>
<Card title="卡片标题" :icon="Heart" bordered>
<template #extra>
<a href="#">更多</a>
</template>
<p>card content</p>
<p>card content</p>
<p>card content</p>
</Card>
</div>
</template>
<script setup>
import { Heart } from "kui-icons";
</script>
```