feat: add Separator Kbd and Chip components
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user