UIChip
An chip component for presents selection and choices
Since: 6.5.0 (6.0.0)
Properties
Name | Type | Default | Description |
value |
| Required - Value presented in chip | |
size |
|
| Variations normal|large|small |
type |
|
| Style for the chip. See Available types for variations |
disabled |
|
| Set disabled state for the chip |
avatarComponent |
| UIAvatar component or other VirtualElement | |
thumbnail |
| Deprecated. Use props | |
avatarUrl |
| Url to avatar | |
icon |
| FontAwesome 4 icon. Example | |
onRemoveBtnClick |
| Required - Callback function when clicking remove button | |
onSelectChange |
| Callback if we want to have select state |
Example
Available types
The UIChip.props.type
has following variations:
Name |
default |
primary |
draft |
alert |
pending |
warning |
done |
schedule |
brand |
Last updated