feat: complete field documentation and TextArea examples

This commit is contained in:
maoyingjie
2026-10-21 23:41:57 +08:00
parent 37e11e6330
commit 116056832c
40 changed files with 2071 additions and 15 deletions
+11
View File
@@ -0,0 +1,11 @@
<script setup lang="ts">
import { FieldError, Input, Label, TextField } from "@heroui-vue/components";
</script>
<template>
<TextField class="w-full max-w-64" is-invalid name="email" type="email">
<Label>邮箱</Label>
<Input placeholder="user@example.com" />
<FieldError>请输入有效的邮箱地址</FieldError>
</TextField>
</template>