Icon
To display an icon we use the component, icon.
The text area component in JUI represents an html <icon/>
.
Icons available at Adobe Spectrum Icons are compatible with our app.
const iconJSON = {
"component": "icon", //tells the component name
"icon": "info", // name of the icon to be used
"size": "S", // size of the icon
"title": "Information" // tooltip corresponding to the icon.
},
icons can also be added to buttons.
The rendered icon will look like this:
recommendation-more-help
11125c99-e1a1-4369-b5d7-fb3098b9b178