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,24 @@
<script setup lang="ts">
import {
InputGroup,
InputGroupInput,
InputGroupPrefix,
InputGroupSuffix,
Label,
TextField,
} from "@heroui-vue/components";
import { IconWorld } from "@tabler/icons-vue";
</script>
<template>
<TextField class="w-full max-w-[280px]" default-value="heroui" name="website">
<Label>网站</Label>
<InputGroup>
<InputGroupPrefix>
<IconWorld class="size-4 text-muted" aria-hidden="true" />
</InputGroupPrefix>
<InputGroupInput class="w-full max-w-[280px]" />
<InputGroupSuffix>.com</InputGroupSuffix>
</InputGroup>
</TextField>
</template>