Files
heroui-vue/apps/docs/demos/textfield-with-description.vue
T
2026-10-21 22:33:19 +08:00

11 lines
356 B
Vue

<script setup lang="ts">
import { Description, Input, Label, TextField } from "@heroui-vue/components";
</script>
<template>
<TextField class="w-full max-w-64" name="username">
<Label>用户名</Label>
<Input placeholder="输入用户名" />
<Description>为你的账户选择一个唯一的用户名</Description>
</TextField>
</template>