Skip to content
Stand with Ukraine flag

Attributes Card

Attributes card widget

The Attributes card widget displays one or more attributes or the latest telemetry values from an entity as a compact key–value list, with each data key on its own row. Use it on device detail pages or monitoring dashboards to surface multiple live readings at a glance — without dedicating a separate widget to each value.

  • Show multiple attributes or telemetry keys from a single entity as a compact key–value list.
  • Add multiple datasources — each renders as a separate labeled section inside the same widget.
  • Per-datasource label and filter to narrow the displayed dataset.
  • Global unit and decimal precision settings, overridable per data key.
  • Data export (CSV/XLSX) and fullscreen controls in the widget header.
  1. Open the dashboard in edit mode. Click Add widget in the top toolbar, or click the Add new widget icon in the center of an empty dashboard.
  2. In the widget bundle selection dialog, find and click Cards.
  3. Select the Attributes card widget.
  4. Configure the datasources and appearance, then click Add.

The widget supports multiple datasources, each added via Add datasource. Five datasource types are available:

TypeRequired fieldsDescription
EntityEntity alias, Data keysReads attributes or telemetry from entities matched by an entity alias
DeviceDevice, Data keysReads from a specific device selected by name
FunctionData keysGenerates synthetic values using built-in functions (Sin, Cos, Random) — useful for testing layouts without live data
Entities countEntity alias, Data keysReturns the count of entities matched by the alias
Alarms countData keysReturns the count of active (or filtered) alarms

Each datasource also accepts an optional Label shown as the section header in the widget and an optional Filter to narrow which entities or alarms are included.

SettingDescription
Maximum entities per datasourceUpper bound on how many entities are loaded from each datasource (default: 1024)
SettingDescription
Units by defaultUnit string appended to all displayed values unless overridden by individual data key configuration
Decimals by defaultDefault number of decimal places for numeric values; applies widget-wide unless overridden per data key
”No data to display” alternative messageCustom text shown inside the widget when no data is available

Standard card settings shared across all ThingsBoard widgets.

SettingDescription
Display widget titleToggle to show or hide the widget title bar (enabled by default)
TitleWidget title text (default: Attributes card)
Title TooltipOptional tooltip shown on title hover
Display title iconToggle to show an icon next to the title; configure the icon and its size
Advanced title styleJSON object for fine-grained title CSS (font size, weight, padding, etc.)
SettingDescription
Text colorDefault text color across the card
Background colorCard background fill
PaddingInner spacing between card edge and content (default: 8px)
MarginOuter spacing around the card
Border radiusCorner rounding in pixels
Drop shadowCard elevation shadow (enabled by default)
Advanced widget styleJSON object for custom CSS applied to the widget container
Widget CSSRaw CSS injected into the widget scope for full visual customization
SettingDescription
Enable fullscreenAdds a fullscreen toggle button in the widget header (enabled by default)
Enable data exportAdds a data export button to the widget header, allowing the current dataset to be downloaded as CSV or XLSX (enabled by default)

The Attributes card supports the Widget header button action — a custom button placed in the widget header that triggers a configured action when clicked.

SettingDescription
ResizableAllow the widget to be resized on the dashboard grid (enabled by default)
Preserve aspect ratioMaintain the width-to-height ratio when resizing
Hide widget in mobile modeHides the widget when the dashboard is displayed in mobile layout
Hide widget in desktop modeHides the widget when the dashboard is displayed in desktop layout
OrderPosition in the mobile layout stacking order
HeightFixed height in rows for mobile layout