Chip Types
The Chip component allows you to set different chip color types by controlling its theme-color property.
Each chip type is color-coded which allows the user to immediately recognize, whether the Chip indicates a successful operation or an error message.
By default the themeColor
value is set to base
.To use the predefined styles for each chip type, pass a value in the themColor
property.
The allowed values for the themeColor
are:
base
info
error
success
warning
null
- null—Does not set a themeColorclass
.
Below you will find a sample project demonstrating how we can configure each of the above themeColor
options — starting with the built-in values and ending with a custom class definition for the Chip with a themeColor
value of null
.