Founding price: $35, then $79.99 after 23:59 UTC on 4 November, then $79.99
Get ProA two-dimensional saturation and brightness area for a hue, with a pointer thumb and two native range inputs for the keyboard and screen readers, spoken in plain words.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
The area edits saturation and brightness for the current hue. Pair it with ColorSlider channel="hue" or ColorWheel, and keep the color as HSVA in state so the hue is not lost when the color becomes black or gray; convert with hsvaToHex when you save.
| Prop | Type | Description |
|---|---|---|
value / onChange | HSVA | { h: 0-360, s: 0-1, v: 0-1, a: 0-1 }. |
onChangeEnd | (value) => void | After a drag or key press. |
label | string | Prefix for the two input names. |
disabled | boolean |
dir="ltr" in right-to-left pages: it pictures a color space, which must not mirror.The component ships with a Testing Library test (color-area.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.