ColorSelect API Overview
Initialization
import { ColorSelect } from "@svar-ui/react-core";
// minimal configuration for initialization
<ColorSelect />
tip
- Visit the Features Guide to learn more about the control's functionality.
- Explore the samples to visualize the available features.
ColorSelect Properties
clear | Optional. Adds the Clear button into the input |
colors | Optional. Specifies a set of color values |
disabled | Optional. Defines whether a color select is disabled |
error | Optional. Defines whether error styling is applied to a color select |
id | Optional. Sets an HTML id for a color select |
placeholder | Optional. Sets a text for the input's placeholder |
title | Optional. Sets a tooltip text with additional info about the control |
value | Optional. Sets the value of a color select |
ColorSelect Events
change | Optional. Fires when a new value is selected in the control |