Browse documentation

Widgets

Widget editor

Design Glance and Detail surfaces, configure data, refresh behavior, scenarios, and compatibility.

On this page

The Widget editor designs a glanceable Garmin widget, verifies its data behavior, and checks whether the selected watch can run it. It uses the same saving, device version, preview, and build foundations as the Watch Face and Data Field editors.

The header contains the project name, target device, save status, Preview, and Build actions. Project settings also let you save the complete Widget as a template. Changing the target device reruns compatibility checks. Build remains unavailable while a new draft has no saved edit, the selected device is unsupported, or blocking widget issues remain.

Project structure

Glance is the compact surface shown in the widget loop or glance list. It should stay focused and readable.

Every widget has a full base page. Add more pages when the wearer needs separate views, and use Menus for grouped choices. The Glance opens the base page; Back returns through visited pages and menus.

Add destination creates a page or menu together with a button that opens it. If you later remove that button, Design checks offers Connect destination. On a disconnected page, Page → Connect this page opens the same repair. Choose a page the wearer can already reach. The editor places the button in clear space when possible. When the starter detail needs a second button, it compacts the content into a clear two-button row. If another button still cannot fit, the editor selects it so you can move or remove content before building.

Each surface has its own background color and layer stack. Widget elements include:

  • Text: text you enter or connect to a shared title, value, summary, or status.
  • Icon: cloud, heart, calendar, battery, activity, or location.
  • Metric: a label, value, and optional unit.
  • Row: compact label-value content for detail lists.
  • Chart: a bar visualization driven by manual values or a connected numeric series.
  • Action: refresh data, open a page or menu, or open a secure web link. Actions are available on pages, not the Glance.

Widget surfaces support up to 12 elements. Glance surfaces cannot contain action elements.

Widget element reference

Every Widget element in Add element is described below:

  • Text: Authored text or one shared text value: title, value, summary, or status. Choose a size, alignment, and color, and provide unavailable text when it uses connected data.
  • Icon: A static cloud, heart, calendar, battery, activity, or location symbol. Icons are decorative and do not change automatically with a connected value.
  • Image: Uploaded PNG, JPEG, WebP, or AVIF artwork with contain, cover, or stretch fitting, opacity, and pixel-art rendering.
  • Metric: A prominent value with a label and optional unit. Enter the value directly or connect it to a shared value.
  • Row: One fixed label and value on a detail page. Add more rows individually, or bind several rows to shared values. A row does not repeat over records from a response. Design checks warn if the label and value may collide at watch size; shorten either text or widen the row.

Collection-backed lists and selectable response records are not supported by the current Widget editor. Use fixed rows for a small, known set of values or a chart for a numeric series.

New charts connect to Chart series automatically when the selected source provides one, including Garmin Weather. Choose Manual values to draw fixed numbers. The initial bars are examples: enter your numbers or choose Use these values before building. This also applies if you switch the starter chart to Manual values. Once confirmed, manual numbers are included in the watch build. An existing chart's previously authored manual values stay fixed.

New Metrics and Rows also connect to Value when the selected source provides a configured value. Their unavailable value starts as a dash, so the weather number shown in Preview is not saved as a fallback in the watch build. With a manual source, their entered values remain fixed watch content. On a detail page, the editor looks for a clear position beside existing content when adding a Metric or Row; review the placement before building.

  • Chart: A bar or line chart using manual numeric values or the shared Chart series. Connected charts require a fallback series containing 2–32 numbers.
  • Progress: A linear or radial indicator with a fixed amount or the shared Value. New indicators use Value when the selected source provides it. A fixed new indicator starts with an example amount; enter your own number or choose Use this amount before building. Set the minimum and maximum to give the amount meaning. A connected indicator shows only its track when the value is missing or is not numeric. A new radial ring moves beside existing detail content when the center is occupied; check its position before building.
  • Shape: A rectangle or ellipse with fill and optional stroke.
  • Action: A labeled control that refreshes data, opens a page or menu, or hands off to an HTTPS link. Preview asks for confirmation before opening a link.

These are all the available Widget elements. Data settings change their content, not the element types. The Glance and each page can contain up to 12 elements. A widget supports up to six pages and four menus; each menu supports up to eight items.

Canvas editing

The center stage shows the selected surface on the target watch. Click or drag across empty canvas space to select elements; hold Shift to add to the selection. Selected elements move and resize together. Arrow keys nudge the selection, Shift plus an arrow moves farther, and Option/Alt-drag duplicates it.

Use the context menu or standard copy, cut, paste, duplicate, delete, and arrange shortcuts for element actions. Grid, Snap, and Guides help align the layout. Actions cannot be pasted onto the Glance.

Templates and element kits

Use Save as template in project settings when you want the complete Widget, including its Glance, pages, menus, and data settings, as a starting point for a new Widget.

To reuse only part of a surface, select one or more layers and choose **Save as element kit. Find saved kits under Add element → My kits** or in Projects. A kit made for Glance stays with Glance, and a kit made for a page stays with pages. Because Glance cannot contain actions, a kit with an action can only be used on a page.

Inspector controls

The inspector follows the current selection:

  • Background: surface color, Data & values, refresh behavior, compatibility, and design checks.
  • Text, metric, and row elements: content, Content source, labels, units, typography, color, and XYWH geometry.
  • Icon, image, shape, progress, and chart elements: visual content, appearance, and XYWH geometry. Charts can connect to the shared Chart series.
  • Action elements: action type, label, color, and geometry.

Text edits commit when you press Enter or leave the field. Escape restores the saved value. Controls are available by keyboard and retain visible focus.

Data setup

Manual widgets do not request data. Garmin watch data can use steps, heart rate, battery, weather, daily calories, daily distance, floors climbed, or active minutes. Some readings may be unavailable on a watch or before activity tracking has produced data; connected layers use their fallback text. Garmin Weather also provides the default chart's hourly numeric series. Web-service widgets use an HTTPS endpoint and response mappings.

When you switch to Manual content, text, metrics, and rows show their entered values. A chart bound to Chart series has no bars, and a Progress indicator bound to Value shows only its track. Design checks block the build until you choose Manual values or Fixed value for those elements, or restore a live source. The editor keeps the bindings so they can resume if you switch back.

The background's Data & values section controls the source, updates, and preview content. Select a text, metric, row, chart, or progress indicator and use its source control to connect it to a shared value. Choose Manage data source to return to the background settings. For an existing web-service value, Configure web service opens its response mapping directly from the element. For a new web service, enter the HTTPS endpoint first; the next step opens the selected element's mapping. If that value has no JSON path, the dialog adds an unsaved mapping for it. Cancel at any setup step to discard the draft, then use Back to [element] to continue editing.

If the editor changes between desktop and mobile layout while setup is open, the dialog keeps the current step and unsaved mapping. Cancel or save to return to Data & values, then use Back to [element] when you entered from a layer.

For web services, Source opens a three-step setup dialog: Configure, Map response, and Review & save. Enter the endpoint, choose GET or POST, optionally add headers and request data, and test the request when the endpoint can be reached directly. GET request data becomes query parameters; POST request data becomes JSON body fields. Choose discovered response fields for title, value, summary, status, and a numeric Chart series, or enter JSON paths manually when testing is unavailable.

Every mapping needs a JSON path and a missing-field replacement. The replacement is saved as the incoming value when that response field is missing. A live Chart series must be a JSON array of 2–32 numbers; text such as "1, 2, 3" and longer arrays are invalid. Chart-series replacements entered in the editor can contain 2–32 comma-separated numbers.

If a visible layer is bound to a web-service value without a JSON path, the source shows Mappings needed and Design checks identifies each missing value. You can save this setup as a draft, but you cannot build until every bound value is resolved. Choose the issue to open Map response at that value, or choose Use fixed content everywhere to disconnect that value from the web service. The setup review also names bound values still using authored fallback content.

After a successful test, the mapping step shows each resolved value or indicates that the fallback will be used. Check those results after changing a path; a saved widget can still use its fallback when the service later returns missing data.

Web services must use public HTTPS endpoints. Request options are included in the widget, so do not add passwords, tokens, API keys, or other private data. DialStudio blocks common credential fields and embedded Basic or Bearer authorization values.

Shared, state, and unavailable content

Text, metric, and row elements use Content source to show their own content or a shared text value. Charts use manual values or the shared Chart series. Connected elements expose their own Unavailable text, Unavailable value, or Fallback series.

The watch resolves connected content in this order:

  1. Mapped live value, including a web-service missing-field replacement.
  2. Last successfully saved value.
  3. Short built-in messages for loading, stale, offline, unauthorized, empty, or error states.
  4. The selected element's unavailable content.

Editable values under Preview & state content are editor-only design samples. They remain in the saved project and change the selected preview immediately, but never enter generated Connect IQ source. Avoid personal data in samples if you plan to share the project. Authored layer text, missing-field replacements, unbound chart values, endpoint configuration, and allowed request headers are build content. Once a chart is connected to a data series, its manual values no longer enter the watch build. A progress indicator connected to Value also omits its fixed amount from the watch build.

Refresh and offline behavior

Open Updates from the background Data & values inspector. A connected widget needs at least one refresh path: Update when detail opens, Refresh on Select without actions, a visible refresh action on a page, or scheduled web-service refresh. The glance reads saved data and does not start a request; selecting it opens the detail page, where update-on-open can run. The Select shortcut applies only to detail pages without action elements.

Scheduled refresh is available only for web-service data and accepts whole-minute intervals from 5 to 1440. Saved data lifetime accepts 1 to 10080 minutes. Request timeout accepts 5 to 60 seconds. Keep last values offline shows the last successful values when an update fails.

If Keep last values offline is off, an offline request shows the error state even when the watch has a saved value. The Offline Preview scenario follows this setting: it shows cached content when enabled and an error with no connected chart history when disabled.

When a web service reports no usable data or denies access, the widget clears its saved response. The old value will not reappear after reopening the widget. Temporary connection failures use the offline setting above.

Preview simulations

The editor footer switches the simulated scenario used while arranging the widget. Choose Preview for a clean review mode. On desktop, the Preview controls float over the canvas; on smaller screens, they appear in a resizable bottom panel.

The available scenarios follow the selected source: manual content has Fresh, watch values have Fresh, Stale, and Empty, and HTTPS data adds Loading, Offline, Access denied, and Error. Fresh samples are editable. Stale and offline previews let you edit representative cached title, value, summary, and chart history; their watch status labels are fixed. Loading shows a dash before the first successful response; enter a saved sample value or chart series to preview how a later refresh keeps cached content visible. Its watch status remains Loading. Access denied, empty, and error show the watch’s built-in text and no connected chart series. Preview opens in Simulated mode, which does not call your web service or read private watch data. Choose Live request or select a refresh action to send a request from DialStudio.

On first use, a watch value has no saved reading and the glance shows its empty state. Opening detail can load the value. If a later watch reading is unavailable, the widget keeps the last good value and marks it as needing an update. In Preview, use Preview first use from a Fresh glance to inspect the no-data view before building.

Compatibility and design checks

Select the background and open Compatibility to review the selected watch's support, required Connect IQ API level, permissions, restrictions, and automatic fallbacks. HTTP widgets require Communications. Scheduled web-service refresh requires Background.

Design checks are grouped by device compatibility, data and refresh, navigation, and content and layout. They catch missing refresh paths, example URLs, unreachable destinations, unsupported actions, empty surfaces, empty text, small touch targets, and low contrast. Select an issue to open the affected surface or layer. When a safe direct repair is available, the editor opens the relevant Content, Appearance, or Layout section and focuses the exact field. Web-service issues open the setup dialog; a missing refresh path opens Data & values; a disconnected page or menu opens Connect destination. Resolve errors before building, and treat warnings as device-review prompts.

Widget content bindings use the same typed binding and expression controls as Watch Apps. The Widget keeps its own data model and generator; only the editor behavior is shared.

Keyboard shortcuts

Use Command on macOS or Ctrl on Windows for the shortcuts below. Select an element first; text fields use normal text-editing shortcuts while focused.

  • Command/Ctrl + C, X, V: Copy, cut, or paste elements.
  • Command/Ctrl + D: Duplicate the selection.
  • Delete or Backspace: Delete the selection.
  • Command/Ctrl + ] or [: Move an element forward or backward. Add Shift to move it to the front or back.
  • Escape: Leave Preview.
  • Command/Ctrl + Enter: Open the build flow in desktop.

Save and check your widget

Changes save on your device first and sync to your account while you are signed in. Create device versions when another watch needs its own sizing or capability checks. Open design checks before building and fix blocking issues. Then follow the Widget how-to guides or set up the desktop build tools.

Check glance density and refresh states

Design checks warn when text in a glance is too wide even at the smallest font, or when a chart packs points too closely for the glance width. Shorten the content or move it to a page. Preview states explain how the configured saved-data lifetime, refresh-on-open, offline fallback, and timeout affect what the wearer sees. The offline sample assumes a previous value exists; on first launch, a failed request shows an error.

Check button input

On a button-only watch, Select opens the detail page from the glance. On a detail page, Up and Down move through visible actions, Select activates the focused action, and Back returns through navigation history. In Preview, use Watch button preview to move focus and press Select. The focused action has an inverted fill. Preview and the generated widget use top-to-bottom, then left-to-right order.

Up nextWidget how-to guides