ComponentReactregistry:ui1 dependency
ColorInput
color-input
Focusable swatch button that opens the OS-native color picker and returns the chosen hex.
Notes from the author
Presentational and i18n-agnostic, so pass a translated aria-label. Use it for a custom accent or a gradient stop, and pair it with applyAccentColor to retint the whole UI from the chosen hex. `unset` renders the "nothing chosen yet" state while still opening the picker at `value`.
@whiskeyjack