feat: add InputGroup and verify shared field integration

This commit is contained in:
maoyingjie
2026-10-21 22:56:18 +08:00
parent 7f11afeaa6
commit 37e11e6330
48 changed files with 2374 additions and 6 deletions
@@ -0,0 +1,25 @@
<script setup lang="ts">
import {
InputGroup,
InputGroupInput,
InputGroupSuffix,
Kbd,
KbdAbbr,
KbdContent,
TextField,
} from "@heroui-vue/components";
</script>
<template>
<TextField aria-label="命令" class="w-full max-w-[280px]" name="command">
<InputGroup>
<InputGroupInput class="w-full max-w-[280px]" placeholder="命令" />
<InputGroupSuffix class="pe-2">
<Kbd>
<KbdAbbr key-value="command" />
<KbdContent>K</KbdContent>
</Kbd>
</InputGroupSuffix>
</InputGroup>
</TextField>
</template>