jc-icon
Icon component used mostly in custom components
The schema defines the following properties:
Property | Type | Required | Description |
type | component.icon | true | |
instanceId | InstanceId | Expression | false | |
when | Expression | boolean | false | |
options | Icon Options | true | |
Properties of the options object:
Property | Type | Required | Description |
icon | icon-name | string | true | Name of the icon |
color | ColorOrConditionalColor | false | Define color of icon or color based on conditions. First evaluated to true will be used. |
emphasis | EmphasisDefinition | false | Change opacity of icon |
size | extra-small | small | medium | regular | large | extra-large | string | false | Size of the icon with predefined values or expression |
type | basic | contained | duotone | string | false | Type of the icon design |
shape | circle | rounded | square | string | false | Shape of the icon |
onPress | false | Action Keg component that will be triggered by pressing on this component. |
icon (icon-name | string, required)
Name of the icon
The object must be any of the following types:
Define color of icon or color based on conditions. First evaluated to true will be used.
Change opacity of icon
Size of the icon with predefined values or expression
The object must be any of the following types:
Default: 24
Type of the icon design
The object must be any of the following types:
Default: "basic"
Shape of the icon
The object must be any of the following types:
Default: "rounded"
Action Keg component that will be triggered by pressing on this component.
The schema defines the following additional types:
The object must be any of the following types:
The object is an array with all elements of the type object.
The array object has the following properties:
This element must be one of the following enum values:
- color1
- color2
- color3
- color4
- color5
- color6
- color7
- color8
- color9
- color10
- color11
- color12
- color13
- color14
The object must be any of the following types: