Files
heroui-vue/apps/docs/demos/input-group-with-text-suffix.vue
T

20 lines
436 B
Vue

<script setup lang="ts">
import {
InputGroup,
InputGroupInput,
InputGroupSuffix,
Label,
TextField,
} from "@heroui-vue/components";
</script>
<template>
<TextField class="w-full max-w-[280px]" default-value="heroui" name="website">
<Label>网站</Label>
<InputGroup>
<InputGroupInput class="w-full max-w-[280px]" />
<InputGroupSuffix>.com</InputGroupSuffix>
</InputGroup>
</TextField>
</template>