value
Show values and amounts for a quick overview or visual representation on a widget, such as sales targets or the number of orders to date. The value can be a number or date and time.

Configuration options
value
Provide the value to be shown on the widget surface. You can use a string, expression or datasource.
align
Align the value either left, right or center.
bottom
The component will be added to the bottom of the widget.
footer
Add text to the footer of the widget.
footerAlign
Align the footer text to left, right, center.
format
Various formats available for the value which is of type date and number, for example, currency.
placeholder
Specify a placeholder text to display if there is no data, for example - title: No data to display.
style
By default the value is positive. To show a negative value set the style: isNegative to true.
top
The component will be added to the top of the widget.
Examples and code snippets
Value widget (2x2)

This example shows a value widget configured with a number value, a format unit and align right. A component.title is added at the top and component.trend at the bottom to show additional information.
Examples: See the complete example using static data in GitHub. See the complete example using dynamic data in GitHub.
widgets:
valueStatic-2x2:
type: widget.value
options:
top:
type: component.titles
options:
title: Solana
subtitle: USDT
align: left
icon: currency-dollar
iconColor: color2
value: 212
format:
unit: "SOL"
align: right
bottom:
type: component.trend
options:
title: 92,40 USDT / SOL
style:
isAlignRight: false
isValueBottom: true
value: +21.2
format:
numberStyle: unit
unit: percentwidgets:
valueDD-2x2:
type: widget.value
options:
top:
type: component.titles
options:
title: [email protected]
subtitle: [email protected]
align: left
icon: currency-dollar
iconColor: color2
value: [email protected]
format:
unit: [email protected]
align: right
bottom:
type: component.trend
options:
title: [email protected] & " " & @ctx.datasources.value1.currency & " / " & @ctx.datasources.value1.cryptoSymbol
style:
isAlignRight: false
isValueBottom: true
value: [email protected]
format:
numberStyle: unit
unit: percent# Grid-item for the jig.
children:
- type: component.grid-item
options:
size: "2x2"
children:
type: component.jig-widget
options:
jigId: value-widget-2x2
widgetId: valueStatic-2x2Value widget (2x4)

This example shows a value widget configured with a date and time value and a dateFormat to show HH:mm and align center. A component.title is added at the top and at the bottom to provide additional information about the meeting.
Examples: See the complete example using static data in GitHub. See the complete example using dynamic data in GitHub
widgets:
valueStatic-2x4:
type: widget.value
options:
align: center
value: 2022-10-27T14:00:14+0100
format:
dateFormat: HH:mm
unit: Meeting time
bottom:
type: component.titles
options:
icon: "phone"
iconColor: color4
align: center
title: Jane Stevens
subtitle: "+420 665 778 998"
top:
type: component.titles
options:
icon: "calendar"
iconColor: color9
align: center
title:
text: 2022-10-27T14:41:13+0100
format:
dateFormat: l
subtitle:
text: 60 Minuteswidgets:
valueDD-2x4:
type: widget.value
options:
align: center
value: [email protected]
format:
dateFormat: HH:mm
unit: [email protected]
bottom:
type: component.titles
options:
icon: "phone"
iconColor: color4
align: center
title: [email protected]
subtitle: [email protected]
top:
type: component.titles
options:
icon: "calendar"
iconColor: color9
align: center
title:
text: [email protected]
format:
dateFormat: l
subtitle:
text: [email protected] & " Minutes" # Grid-item for the static jig.
children:
- type: component.grid-item
options:
size: "2x4"
children:
type: component.jig-widget
options:
jigId: value-widget-2x4
widgetId: valueStatic-2x4Value widget (4x2)

This example shows a value widget configured with an number value and a Format to show currency and align centre. A component.title is added at the bottom to provide additional information about the billing and quarter.
Examples: See the complete example using static data in GitHub See the complete example using dynamic data in GitHub.
widgets:
value-s-4x2:
type: widget.value
options:
value: "2329999"
align: center
format:
numberStyle: currency
bottom:
type: component.titles
options:
align: center
title: Company Billing
subtitle: Q3 / 2022widgets:
value-dd-4x2:
type: widget.value
options:
value: [email protected]
align: center
format:
numberStyle: currency
bottom:
type: component.titles
options:
align: center
title: [email protected]
subtitle: [email protected]# Grid-item for the static jig.
children:
- type: component.grid-item
options:
size: "4x2"
children:
type: component.jig-widget
options:
jigId: value-widget-4x2
widgetId: value-s-4x2Last updated
Was this helpful?