Widget
Host-rendered declarative snapshot. Refresh remains the app owner's responsibility.
API reference
| Prop | Type | Default | Description |
|---|---|---|---|
snapshot | WidgetSnapshot | - | |
updatedAt | number | - | |
onOpen | (element: HTMLElement, arg?: string) => void | - |
Related components
WidgetLabelPassive text label using existing widget typography; never fetches or schedules refreshes.ButtonNative button: tinted capsule by default, filled with the link colour, or plain text. Icon-only buttons need aria-label.CheckboxNative checkbox drawn as macOS Calendar's tinted square: hollow at rest, filled with a white tick when checked. `tint` is any CSS colour. Supply a visible label or aria-label.