Logo FS-Skia-UI

ColorPickerProps<'msg> Type

Immutable, compiler-checked authoring surface for a palette/swatch color picker. `Swatches` is the required palette (empty ⇒ empty grid); `Selected` is the highlighted swatch; `OnSelected = None` lowers to no binding.

Record fields

Record Field Description

Id

Full Usage: Id

Field type: ControlId option
Field type: ControlId option

OnSelected

Full Usage: OnSelected

Field type: (ColorSwatch -> 'msg) option
Field type: (ColorSwatch -> 'msg) option

Selected

Full Usage: Selected

Field type: ColorSwatch option
Field type: ColorSwatch option

Swatches

Full Usage: Swatches

Field type: ColorSwatch list
Field type: ColorSwatch list

Type something to start searching.