Files
heroui-vue/apps/docs/demos/kbd-inline-usage.vue
T
2026-10-21 18:35:24 +08:00

43 lines
854 B
Vue

<script setup lang="ts">
import { Kbd, KbdAbbr, KbdContent } from "@heroui-vue/components";
</script>
<template>
<div class="space-y-4">
<p class="text-sm">
按
<Kbd>
<KbdContent>Esc</KbdContent>
</Kbd>
关闭对话框。
</p>
<p class="text-sm">
使用
<Kbd>
<KbdAbbr key-value="command" />
<KbdContent>K</KbdContent>
</Kbd>
打开命令面板。
</p>
<p class="text-sm">
使用
<Kbd>
<KbdAbbr key-value="up" />
</Kbd>
和
<Kbd>
<KbdAbbr key-value="down" />
</Kbd>
方向键进行导航。
</p>
<p class="text-sm">
使用
<Kbd>
<KbdAbbr key-value="command" />
<KbdContent>S</KbdContent>
</Kbd>
定期保存你的工作。
</p>
</div>
</template>