feat: add Separator Kbd and Chip components
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<script setup lang="ts">
|
||||
import { Kbd, KbdAbbr } from "@heroui-vue/components";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex flex-col gap-4">
|
||||
<div class="flex items-center gap-2">
|
||||
<span class="text-sm text-muted">方向键:</span>
|
||||
<div class="flex items-center gap-2">
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="up" />
|
||||
</Kbd>
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="down" />
|
||||
</Kbd>
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="left" />
|
||||
</Kbd>
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="right" />
|
||||
</Kbd>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center gap-2">
|
||||
<span class="text-sm text-muted">页面导航:</span>
|
||||
<div class="flex items-center gap-2">
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="pageup" />
|
||||
</Kbd>
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="pagedown" />
|
||||
</Kbd>
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="home" />
|
||||
</Kbd>
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="end" />
|
||||
</Kbd>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user