ColorInput

高度な16進数カラー選択を可能にする統合されたカラーピッカープレビューを備えたテキスト入力。

いつ使用するか

  • ユーザーが色選択をカスタマイズする必要がある場合に使用します。

基本的な使用法

最も簡単な使用法。

ラベルとエラー状態

ColorInput はカスタムラベルと視覚的な検証状態をサポートします。

Invalid color selection

無効

無効状態に設定します。

プロパティ

プロパティ
説明
タイプ
デフォルト

value

The current hex color value. string '#000000'

label

The label to display above the input. string ''

class

Additional CSS classes for styling. string ''

error

Indicates an error state or displays an error message string | boolean

success

Indicates a success state or displays a success message string | boolean

disabled

Disables the component boolean false