Skip to main content

ColorPaletteItem

The ui5-color-palette-item component represents a color in the the ui5-color-palette.

Properties​

value​

DescriptionDefines the colour of the component.
Note: The value should be a valid CSS color.
Typestring
Default""

selected​

DescriptionDefines if the component is selected.
Note: Only one item must be selected per ui5-color-palette. If more than one item is defined as selected, the last one would be considered as the selected one.
Typeboolean
Defaultfalse
Since2.0.0

Slots​

No slots available for this component.

Events​

No events available for this component.

Methods​

No methods available for this component.

CSS Parts​

No CSS parts available for this component.