FormColorInput
カラーピッカー入力コンポーネント。
|
import { FormColorInput } from "@blueai/ui"Examples
Basic
選択中: #0AA5D4
const [color, setColor] = useState("#0AA5D4");
<FormColorInput
label="ブランドカラー"
value={color}
onChange={setColor}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| value* | string | — | カラー値(HEX) |
| onChange | (value: string) => void | — | 値変更ハンドラ |
| label | string | — | ラベルテキスト |