Skip to content

WeatherCard

Domain

Current weather hero with condition icon, temp, high/low, details, an hourly strip and daily forecast. icon: sun|cloud-sun|cloud|fog|drizzle|rain|snow|storm.

Props

Generated from the Zod definition. In A2UI 1.0 any value may also be a { "@path" } binding into the surface data model or a { "@call" } function call.

PropTypeRequiredDescription
locationstringYes-
tempnumberYes-
conditionstringYes-
iconstringNoLucide icon name (kebab-case).
highnumberNo-
lownumberNo-
feelsnumberNo-
humiditynumberNo-
windnumberNo-
unit"C" | "F"NoUnit appended to values (for example km or °C).
hourly{ label, temp, icon?, precip? }[]No-
daily{ label, min, max, icon?, precip? }[]No-

Used by templates

Fixed-schema templates that include WeatherCard. Try them in the playground.