Badges, labels, and stickers are used to put extra emphasis on information.
Badges help highlight important information such as notifications or new and unread messages. Badges have circular borders by default.
Size | Usage |
---|---|
Small: Use it to mark the number of notifications in a user sticker. | |
Default: Use it for marking states. | |
Large: Use it when previous don't apply. |
Type | Usage |
---|---|
Used to identify. | |
Used to identify with the possibility of removing it. |
Labels are a mechanism to categorize information providing quick recognition.
Use labels to organize groups of items in your application. Labels have rounded borders by default.
Size | Usage |
---|---|
Small: Use it to mark the number of notifications in a user sticker. | |
Default: Use it for marking states. | |
Large: Use it when previous don't apply. |
Type | Usage |
---|---|
Used to identify. | |
Used to identify with the possibility of removing it. |
Stickers are a visual way to quickly identify content in a different way than badges and labels. Stickers can be either numbers or characters but always restricted to a maximum number of 3 characters. A sticker can also contain just an icon. Stickers are always squared.
Use stickers to visually identify elements in a dataset that are part of a same group. You can use any color you want for stickers.
Size | Usage |
---|---|
22x22. Use it in smaller contexts where you only need visual identification but not manual interaction with this element. | |
32x32. Use it in cards that are image based, allowing to see more parts of the image. | |
44x44. Use it in cards that are not image based, or list entries. |
Stickers can have different positions:
The most used cases in Liferay DE are inside bottom left and static.