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

17 lines
474 B
Vue

<script setup lang="ts">
import { Kbd, KbdAbbr, KbdContent } from "@heroui-vue/components";
</script>
<template>
<div class="flex items-center gap-3">
<Kbd class="rounded-lg bg-accent-soft px-2.5 text-accent-soft-foreground">
<KbdAbbr key-value="command" />
<KbdContent>K</KbdContent>
</Kbd>
<Kbd class="rounded-lg bg-default px-2.5 text-muted">
<KbdAbbr key-value="shift" />
<KbdContent>P</KbdContent>
</Kbd>
</div>
</template>