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
@@ -0,0 +1,23 @@
<script setup lang="ts">
import {
SearchFieldClearButton,
SearchFieldSearchIcon,
SearchFieldGroup,
SearchFieldInput,
SearchField,
Label,
} from "@heroui-vue/components";
</script>
<template>
<div class="w-[400px] space-y-4">
<SearchField full-width name="search">
<Label>搜索</Label>
<SearchFieldGroup>
<SearchFieldSearchIcon />
<SearchFieldInput placeholder="搜索…" />
<SearchFieldClearButton />
</SearchFieldGroup>
</SearchField>
</div>
</template>