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,21 @@
<script setup lang="ts">
import {
ColorField,
ColorFieldGroup,
ColorFieldInput,
Description,
Label,
Surface,
} from "@heroui-vue/components";
</script>
<template>
<Surface class="w-[320px] p-4">
<ColorField default-value="#3B82F6" name="color">
<Label>主题色</Label>
<ColorFieldGroup variant="secondary">
<ColorFieldInput />
</ColorFieldGroup>
<Description>选择你的主题色</Description>
</ColorField>
</Surface>
</template>