feat: add Fieldset and SearchField infrastructure

This commit is contained in:
maoyingjie
2026-10-22 08:46:02 +08:00
parent 116056832c
commit a4fb3c550a
59 changed files with 3131 additions and 331 deletions
+21
View File
@@ -0,0 +1,21 @@
<script setup lang="ts">
import {
SearchFieldClearButton,
SearchFieldSearchIcon,
SearchFieldGroup,
SearchFieldInput,
SearchField,
Label,
} from "@heroui-vue/components";
</script>
<template>
<SearchField name="search">
<Label>搜索</Label>
<SearchFieldGroup>
<SearchFieldSearchIcon />
<SearchFieldInput class="w-[280px]" placeholder="搜索…" />
<SearchFieldClearButton />
</SearchFieldGroup>
</SearchField>
</template>