@servicenow/now-icon
Version:
Custom icon set for the Now Design System - see also now-legacy-icon
82 lines (81 loc) • 1.65 kB
JSON
{
"components": {
"now-icon": {
"uiBuilder": {
"associatedTypes": [
"global.core"
],
"category": "primitives",
"description": "Graphic symbol that represents an object or an item",
"icon": "icon",
"label": "Icon"
},
"properties": [
{
"defaultValue": "circle-question-outline",
"description": "Name of the icon in dash-case, including the '-fill' or '-outline' suffix to indicate whether the icon is filled or outlined",
"fieldType": "icon",
"label": "Icon",
"managed": false,
"name": "icon",
"readOnly": false,
"required": true,
"selectable": false,
"typeMetadata": {
"schema": {
"type": "string"
}
}
},
{
"defaultValue": "md",
"description": "Size of the icon in the format 'sm', 'md', 'lg', or 'xl'",
"fieldType": "choice",
"label": "Size",
"managed": false,
"name": "size",
"readOnly": false,
"required": false,
"selectable": false,
"typeMetadata": {
"choices": [
{
"label": "Small",
"value": "sm"
},
{
"label": "Medium",
"value": "md"
},
{
"label": "Large",
"value": "lg"
},
{
"label": "Extra large",
"value": "xl"
}
],
"schema": {
"type": "string",
"enum": [
"sm",
"md",
"lg",
"xl"
]
}
}
}
],
"actions": [],
"slots": [],
"handlers": [],
"innerComponents": []
},
"now-icon-presence": {
"innerComponents": []
}
},
"scopeName": "sn_icon"
}