21 lines
518 B
Vue
21 lines
518 B
Vue
<script setup lang="ts">
|
|
import {
|
|
Chip,
|
|
InputGroup,
|
|
InputGroupInput,
|
|
InputGroupSuffix,
|
|
TextField,
|
|
} from "@heroui-vue/components";
|
|
</script>
|
|
|
|
<template>
|
|
<TextField aria-label="邮箱地址" class="w-full max-w-[280px]" name="email">
|
|
<InputGroup>
|
|
<InputGroupInput class="w-full max-w-[280px]" placeholder="邮箱地址" />
|
|
<InputGroupSuffix class="pe-2">
|
|
<Chip color="accent" size="md" variant="soft">Pro</Chip>
|
|
</InputGroupSuffix>
|
|
</InputGroup>
|
|
</TextField>
|
|
</template>
|