Sticker
Stickers are a visual way to quickly identify content in a different way than badges and labels.
install | yarn add @clayui/sticker |
---|---|
version | 3.111.0 |
Stable3.111.0View in LexiconCHANGELOG
Property | Description |
---|---|
displayType | 'danger'
| 'dark'
| 'info'
| 'light'
| 'primary'
| 'secondary'
| 'success'
| 'unstyled'
| 'warning' | Determines the color of the sticker. |
inline boolean | Turns the sticker inline |
outside boolean | Flag to indicate if the sticker should be positioned on the outside
corners when position is defined. The default value is false |
position 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | Position of the sticker in relation to the contents. |
shape 'circle' | 'user-icon' | Shape of the sticker. |
size 'lg' | 'sm' | 'xl' | Sticker size. |