zepp-os-ui
Installation
SKILL.md
Zepp OS UI
Context: Device App (watch) + Watchface — UI exists only on the watch, never in the side service / settings app. API_LEVEL: 2.0+ (direct property accessors are
[≥4.0]). Prereq: runtime contexts &designWidth— seezepp-os-fundamentals.
Overview
All on-screen UI is built imperatively: createWidget(widget.TYPE, optionsObject) returns a widget instance you then read/update via properties and events. There is no JSX/HTML. Lay out with absolute coordinates and adapt across screen shapes with px().
import { createWidget, widget, prop, event, align, text_style } from '@zos/ui'
import { px } from '@zos/utils'