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,24 @@
<script setup lang="ts">
import {
SearchFieldClearButton,
SearchFieldSearchIcon,
SearchFieldGroup,
SearchFieldInput,
SearchField,
Label,
} from "@heroui-vue/components";
</script>
<template>
<SearchField class="w-full max-w-64" name="docs" variant="secondary">
<Label class="font-medium text-foreground">搜索文档</Label>
<SearchFieldGroup class="rounded-xl bg-default">
<SearchFieldSearchIcon class="text-muted" />
<SearchFieldInput
class="placeholder:text-muted"
placeholder="组件、指南..."
/>
<SearchFieldClearButton class="text-muted" />
</SearchFieldGroup>
</SearchField>
</template>