Widgets
Widget how-to guides
Step-by-step workflows for surfaces, web services, refresh behavior, states, and builds.
On this page
Use these guides when you know what you want to do but are not sure where the control lives. Each workflow starts from an open widget project in the editor unless it says otherwise.
Make a compact status widget
- Open Editor and choose Widget.
- Rename the project in the top bar.
- Select Background in the Layers list and choose a Glance color in the inspector.
- Keep the most important title, value, and status on the Glance.
- Delete, hide, or resize anything that competes with the main value.
- Choose Preview and check loading, stale, offline, empty, and error states.
- Open design checks and fix blocking issues before building.
Start with one value and one short explanation. Add detail content only when the wearer needs more than the Glance can show.
Add another page
- Choose Add page beside the surface control.
- Name the page for what the wearer will find there.
- Add rows, metrics, text, or charts for supporting information.
- Keep actions near the related content.
- Add an action from the base page or a menu so the new page is reachable.
- Preview the route and Back behavior.
Each page has its own layout. A widget supports up to six pages, including the required base page.
Add an element
- Choose Add element in the Layers panel.
- Browse or search the available categories.
- Select text, icon, image, metric, row, chart, progress, shape, or an action.
- Move and resize the element on the canvas.
- Use the inspector to edit content, Content source, color, and XYWH position.
Action elements can only be used on pages. An action can refresh data, open a page or menu, or open an HTTPS link. A widget surface supports up to 12 elements.
See the Widget element reference for every choice, its content behavior, and surface restrictions.
Reuse a Widget with templates or element kits
- To preserve the whole Widget, open project settings and choose Save as template.
- Use that template from Projects to create an independent Widget project.
- To preserve part of the current surface, select one or more layers and choose Save as element kit.
- Open Add element → My kits to insert a personal kit, or drag it onto the canvas to choose its position.
- From Projects, choose Add to widget and select a new or existing Widget project.
A Widget kit stays with the surface type where you saved it: Glance or page. Kits with actions can only be used on pages. If the kit would exceed the 12-element limit, Studio explains the problem without changing your Widget.
Connect elements to shared values
- Select a text, metric, or row element.
- Under Content source, choose Title, Value, Summary, or Status.
- Use Manage data source, or select Background and open Data & values.
- Configure manual content, Garmin watch data, or web-service mappings for those shared values.
- Switch scenarios to verify every bound element updates together.
Bindings keep repeated content consistent. For example, the same status can appear as short Glance text and as a row on the base page.
For a chart, choose Shared value · Chart series under Content source. Garmin Weather provides hourly temperatures by default. A web service can map any JSON array containing 2–32 finite numbers. Keep the element's Fallback series meaningful in case no live, saved, or state series is available.
For a progress indicator, choose Progress source → Value to use the widget's current value. Set Minimum and Maximum for the expected range. The indicator reads the leading number in a value such as 72°; if there is no numeric value, only the track appears. Keep Fixed value when you want an authored amount that does not update.
Connect a web service
- Select Background and open Data & values.
- Set Source type to Web service.
- In Configure, enter an HTTPS endpoint and choose GET or POST.
- Add headers, GET query parameters, or POST JSON body fields only when the widget can safely ship them.
- Choose Test request to check the public endpoint.
- In Map response, choose the response fields that should supply Title, Value, Summary, Status, or Chart series. Enter a JSON path manually when testing is unavailable.
- Enter a missing-field replacement for every mapping. Use 2–32 comma-separated numbers for Chart series.
- In Review & save, confirm the request and mappings, then choose Save data source.
- Replace all example URLs before building.
Never place passwords, private API keys, or other secrets in widget headers or parameters. They are packaged with the widget.
Account connections
OAuth account connection is not build ready. The generated widget does not exchange an authorization code for an access token, so OAuth configurations from older projects block builds. Open Advanced request settings to remove an existing OAuth connection. Use a public endpoint for a buildable widget, and do not put credentials in project fields.
Add refresh behavior
- Select Background and open Data & values.
- Open Updates.
- Turn on Update when detail opens for fresh-on-open behavior. The glance uses saved data.
- Turn on Refresh on Select without actions if a detail page has no action elements and should refresh when Select is pressed.
- Add a visible refresh action to a page when refresh needs a clear on-screen control.
- For web-service widgets, enter a scheduled refresh interval from 5 to 1440 minutes if the watch supports background refresh.
- Set saved data lifetime and request timeout.
- Turn on Keep last values offline when stale data is better than an empty widget.
A connected widget needs at least one refresh path. Studio blocks builds when data can never refresh.
Design empty and error states
- Select Background, open Data & values, and expand Preview & state content.
- Check Loading before data appears.
- Check Stale and Offline for cached data.
- Check Access denied for rejected requests.
- Check Empty when the service returns no useful value.
- Check Error when the request fails.
- Edit the state's shared title, value, summary, status, or Chart series.
- Adjust Content source, element unavailable content, or page content until each state explains what happened.
Short state copy is usually better than raw error language. The Glance should remain understandable even when it cannot show the desired value.
Remember the content order on the watch: mapped live value, saved value, state content, then the element's Unavailable text, Unavailable value, or Fallback series. A web-service missing-field replacement counts as a mapped value.
Move, resize, and align elements
- Select an element on the canvas or in Layers.
- Drag it on the canvas to move it.
- Use corner handles to resize supported elements.
- Enter exact X, Y, width, or height values in the inspector when you need precision.
- Turn on Grid, Snap, or Guides from the canvas controls.
- Select multiple elements with Shift or Command/Ctrl, then move or arrange them together.
- Lock finished elements so they do not move by accident.
Zoom changes only your working view. It does not change the final size on the watch.
Build and install a widget
- Finish the design and fix blocking design checks.
- Use DialStudio desktop for builds and installs.
- Complete build setup until Studio reports Build environment ready.
- Choose Build in the editor.
- Review the target watch and start the build.
- When the build finishes, choose Continue to Install, or open Projects → Builds later.
- Connect the watch with a data-capable USB cable.
- Choose Install on watch and keep the cable connected until Studio reports success.
- Open the widget from the watch's widget loop or glance list.
Browser design is enough for editing and previewing. Building and USB transfer require the desktop app.