ColorPicker
uitemplate
ColorPicker component
Terminal
$termuijs render color-picker
Installation
$ bunx termuijs add color-picker
Copies the source into src/components/color-picker/ and installs @termuijs/core, @termuijs/widgets.
Usage
ts
import { ColorPicker } from '@termuijs/ui'ts
new ColorPicker(options: ColorPickerOptions = {})API Reference
ColorPicker
| Prop | Type | Required | Description |
|---|---|---|---|
value | string | Color | optional | — |
onChange | (color: Color) => void | optional | — |