feat: add Separator Kbd and Chip components

This commit is contained in:
maoyingjie
2026-10-21 18:35:24 +08:00
parent 3d05fea7bd
commit 3515a47f5e
51 changed files with 2813 additions and 21 deletions
+35
View File
@@ -0,0 +1,35 @@
<script setup lang="ts">
import { Chip, ChipLabel } from "@heroui-vue/components";
import {
IconChevronDown,
IconCircleCheckFilled,
IconCircleFilled,
IconClock,
IconX,
} from "@tabler/icons-vue";
</script>
<template>
<div class="flex flex-wrap items-center gap-3">
<Chip>
<IconCircleFilled :size="6" aria-hidden="true" />
<ChipLabel>信息</ChipLabel>
</Chip>
<Chip color="success">
<IconCircleCheckFilled :size="12" aria-hidden="true" />
<ChipLabel>已完成</ChipLabel>
</Chip>
<Chip color="warning">
<IconClock :size="12" aria-hidden="true" />
<ChipLabel>待处理</ChipLabel>
</Chip>
<Chip color="danger">
<IconX :size="12" aria-hidden="true" />
<ChipLabel>失败</ChipLabel>
</Chip>
<Chip color="accent">
<ChipLabel>标签</ChipLabel>
<IconChevronDown :size="12" aria-hidden="true" />
</Chip>
</div>
</template>