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
+38
View File
@@ -0,0 +1,38 @@
<script setup lang="ts">
import { Kbd, KbdAbbr } from "@heroui-vue/components";
</script>
<template>
<div class="space-y-3">
<p class="text-sm">
按
<Kbd>
<KbdAbbr key-value="enter" />
</Kbd>
确认,或按
<Kbd>
<KbdAbbr key-value="escape" />
</Kbd>
取消。
</p>
<p class="text-sm">
使用
<Kbd>
<KbdAbbr key-value="tab" />
</Kbd>
在表单字段间切换,使用
<Kbd>
<KbdAbbr key-value="shift" />
<KbdAbbr key-value="tab" />
</Kbd>
返回上一项。
</p>
<p class="text-sm">
按住
<Kbd>
<KbdAbbr key-value="space" />
</Kbd>
可临时启用平移模式。
</p>
</div>
</template>