WeatherCard
DomainCurrent 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.
| Prop | Type | Required | Description |
|---|---|---|---|
| location | string | Yes | - |
| temp | number | Yes | - |
| condition | string | Yes | - |
| icon | string | No | Lucide icon name (kebab-case). |
| high | number | No | - |
| low | number | No | - |
| feels | number | No | - |
| humidity | number | No | - |
| wind | number | No | - |
| unit | "C" | "F" | No | Unit 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.