WidgetLabel
Passive text label using existing widget typography; never fetches or schedules refreshes.
WeatherCupertino · 21°
API reference
function WidgetLabel<T extends ElementType = 'b'>({ as, xstyle, animate, ...props }: WidgetLabelProps<T>)Related components
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.HStackA horizontal row of children, centred on the cross axis. The kit had no horizontal primitive, so every app wrote its own flex block: reach for this before a `stylex.create`.