feat: publish ColorField and shared color input parts

This commit is contained in:
maoyingjie
2026-10-27 11:53:02 +08:00
parent 108a120c81
commit 6a7a89be6b
34 changed files with 1511 additions and 39 deletions
@@ -0,0 +1,24 @@
<script setup lang="ts">
import {
ColorField,
ColorFieldGroup,
ColorFieldInput,
Label,
} from "@heroui-vue/components";
</script>
<template>
<div class="w-[400px] space-y-4">
<ColorField fullWidth default-value="#10B981" name="color">
<Label>品牌色</Label>
<ColorFieldGroup>
<ColorFieldInput />
</ColorFieldGroup>
</ColorField>
<ColorField fullWidth default-value="#8B5CF6" name="color-with-suffix">
<Label>主题色</Label>
<ColorFieldGroup>
<ColorFieldInput />
</ColorFieldGroup>
</ColorField>
</div>
</template>