Text color input with optional inline color picker and validation.
npx shadcn@latest add @preskok/color-fieldimport { ColorField } from "@/components/ui/preskok-ui/color-field"
export function ColorFieldExample() {
return (
<ColorField
label="Brand color"
placeholder="#2563eb"
defaultValue="#2563eb"
description="Choose a hex color."
/>
)
}Current value: #1D4ED8