┌─────────────────────────────────────────────────────────────┐
│ PowderCast Header │
│ Search Bar & Controls │
└─────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ Resort Info & Elevation │
└─────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ Special Alerts (if applicable) │
│ • Powder Alert │
│ • Bluebird Day Indicator │
│ • Frostbite Warning │
└─────────────────────────────────────────────────────────────┘
┌───────────────────────┬───────────────────────┬─────────────┐
│ Snow Accumulation │ Wind Conditions │ Visibility │
│ • 24h: X.X" │ • Current: XX mph │ • X.X mi │
│ • 7d: X.X" │ • Max 24h: XX mph │ • XX% cover │
└───────────────────────┴───────────────────────┴─────────────┘
┌──────────────────────────────┬──────────────────────────────┐
│ 🆕 Humidity & Moisture │ 🆕 24h Temperature Outlook │
│ • Humidity: XX% │ • High: XX° / Low: XX° │
│ • Dewpoint: XX°F │ • Range: XX° │
│ • Dewpoint spread: ΔXX° │ • Precip Prob: XX% │
│ • "Moderate moisture" │ • Current: XX°F │
└──────────────────────────────┴──────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ 🆕 Detailed Forecast │
│ 📄 NWS Narrative Forecasts (Expandable/Collapsible) │
│ │
│ ▼ Tonight • 28°F • SW 10-15 mph • Partly Cloudy │
│ Full detailed narrative from NWS appears here when │
│ expanded with complete weather description... │
│ │
│ ▶ Friday • 35°F • W 15-20 mph • 60% precip • Snow Likely │
│ │
│ ▶ Friday Night • 22°F • NW 20-25 mph • Mostly Cloudy │
│ │
│ ... (up to 7 periods) │
│ │
│ [Expand All / Collapse All] │
└─────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ Hourly Snow Forecast (48h) │
│ [Hour-by-hour snow accumulation chart] │
└─────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ Future Snow Widget │
│ [7-day snow accumulation projection] │
└─────────────────────────────────────────────────────────────┘
┌──────────────────────────────┬──────────────────────────────┐
│ Snow Quality Tag │ Webcam Viewer │
│ • Quality: "Champagne" │ [Live webcam feed] │
│ • Temp: XX°F │ │
└──────────────────────────────┴──────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ 7-Day Forecast Summary │
│ [Grid of 7 forecast cards with basic info] │
└─────────────────────────────────────────────────────────────┘
┌────────────────────────────────────┐
│ 💧 Humidity & Moisture │
│ │
│ 68% 45°F │
│ High Humidity Dewpoint │
│ │
│ Δ23° spread • Humid conditions │
└────────────────────────────────────┘
Key Features:
- Color-coded by humidity level (blue for high, cyan for moderate, gray for low)
- Dewpoint spread calculation (important for fog/visibility)
- Descriptive text ("Very humid, potential fog", "Dry conditions", etc.)
┌────────────────────────────────────┐
│ 🌡️📈 24h Outlook │
│ │
│ 35° / 22° 60% │
│ High/Low (13°) Precip Chance │
│ │
│ Current: 28°F • Precipitation likely │
└────────────────────────────────────┘
Key Features:
- Shows temperature range with delta
- Precipitation probability color-coded (blue for high, cyan for moderate)
- "Precipitation likely" indicator when >50%
┌────────────────────────────────────────────────────┐
│ 📄 Detailed Forecast │
│ NWS narrative forecast │
│ │
│ ▼ Tonight • 60% precip • 28°F • SW 10-15 mph │
│ ───────────────────────────────────────────── │
│ Mostly cloudy with snow showers likely after │
│ midnight. Accumulation of 2-4 inches possible. │
│ Southwest winds 10-15 mph with gusts up to │
│ 25 mph. Chance of snow 60%. │
│ │
│ ▶ Friday • 35°F • W 15-20 mph • Partly Cloudy │
│ │
│ ▶ Friday Night • 22°F • NW 20-25 mph │
│ │
└────────────────────────────────────────────────────┘
Key Features:
- Accordion-style expandable periods
- Precipitation probability badges
- Full NWS narrative forecasts
- Temperature, wind, and short forecast in header
- Expand/Collapse all functionality
NWS API
↓
useNWSWeather Hook
↓ (processes & converts units)
├─→ currentHumidity
├─→ currentDewpoint
├─→ maxTemp24h
├─→ minTemp24h
├─→ maxPrecipProb24h
└─→ periods[].detailedForecast
↓
Components
├─→ HumidityCard
├─→ TempRangeCard
└─→ DetailedForecast
All new components are fully responsive:
- Desktop (lg): 2-column grid for Humidity/TempRange cards
- Tablet (md): Single column layout
- Mobile (sm): Optimized spacing and font sizes
- Text truncation and wrapping handled automatically
- Touch-friendly expand/collapse buttons in DetailedForecast
Humidity Card:
- High (>70%): Blue (
text-blue-400,bg-blue-400/20) - Moderate (40-70%): Cyan (
text-cyan-400,bg-cyan-400/20) - Low (<40%): Gray (
text-gray-400,bg-gray-400/20)
Temp/Precip Card:
- Temperature: Orange/Blue gradient
- High precip (>70%): Blue (
text-blue-400) - Moderate (40-70%): Cyan (
text-cyan-400) - Low (<40%): Gray (
text-gray-400)
Detailed Forecast:
- Purple/Blue gradient theme (
from-purple-500/20 to-blue-500/20) - Cyan for period names (
text-cyan-400) - Blue for precipitation badges (
bg-blue-500/20)