Weather
BuiltDisplays current weather conditions and a multi-day forecast for the record's address. Shows temperature, wind speed, humidity, visibility, atmospheric pressure, and weather alerts. Helps field workers and dispatchers plan around weather conditions at job sites.
Usage Guidance
When to use
- +Helping field workers prepare for weather conditions at upcoming job sites.
- +Enabling dispatchers to factor weather into scheduling and resource allocation decisions.
- +Providing at-a-glance weather context on job or activity records with a known address.
When not to use
- −Records without address data — the component requires a geocodable address to fetch weather.
- −Indoor-only job types where outdoor weather conditions are irrelevant to the work.
- −When real-time weather precision is critical — data is cached and may be up to 30 minutes old.
Breeze UI Adherence
Tokens Used
color.border.defaultcolor.background.surfacecolor.text.defaultcolor.text.subtlespacing.5spacing.3.5font.size.smfont.weight.semiboldradius.lgshadow.smCustom CSS — not covered by Breeze UI
text-4xl font-boldLarge temperature display requires a size significantly larger than any Breeze UI heading token. Custom sizing ensures the temperature is the dominant visual element.
Weather icon SVGs (sun, cloud, partial cloud, rain)Breeze UI does not include weather-specific iconography. Custom inline SVGs are used for weather condition icons in both current conditions and forecast strip.
grid-cols-2 gap-3 (detail grid)The 2x2 weather details grid uses a custom grid layout not covered by Breeze UI card patterns. Required to display four metrics compactly beside the temperature.
bg-gradient-to-r from-orange-50 to-orange-100, orange-600 textAlert banner uses a custom orange gradient background with severity-based color theming. Breeze UI does not provide alert banner gradient tokens.
overflow-x-auto scroll-snap-x (forecast strip)Horizontally scrollable forecast strip with snap points for each day column. Breeze UI does not provide scroll-snap layout patterns.
rounded-full px-2 py-0.5 (unit toggle pill)Small pill-shaped toggle buttons for C°/F° switching. Breeze UI toggle components are full-sized and do not support this compact inline pill pattern.
Settings
The object field containing the address to fetch weather data for.
AddressDefault temperature unit. Users can toggle between units via the header control.
celsiusNumber of days to show in the forecast strip. Range 3–14.
10Display active weather alerts (fire danger, storm warnings, etc.) when available from the weather service.
trueShow extended weather details (wind, humidity, visibility, pressure) alongside the current temperature.
trueAttributes
Current weather conditions including temperature, description, icon code, wind speed, humidity, visibility, and pressure.
{ temp: number, description: string, icon: string, wind: number, humidity: number, visibility: number, pressure: number }Array of daily forecast entries with high/low temperatures, weather icons, and day labels.
Active weather alerts for the location. Each alert has a severity level, title, and description.
The resolved address string displayed in the header.
Changelog
Initial component specification created.
Added Breeze UI token mapping and adherence tracking. Defined alert banner severity color schemes. Added temperature unit toggle specification.