Feature 486 block design & features
Feature486 is an hourly forecast section for a weather app. A two-column heading and description sit above a rounded panel with the current hour, a large temperature, a condition icon and a small sun arc, and below them a smooth temperature curve for the whole day.
Dragging anywhere along the curve, or using the arrow keys, moves a marker to that hour. The panel's flat background shifts from a pale night lilac to dawn peach, clear daytime blue and back again, the sun or moon slides along its arc between sunrise and sunset, and the temperature and condition label update as you go. While nobody is interacting, the marker drifts through the day on its own.
The curve is drawn from an array of hourly temperatures and conditions, with the place and sunrise and sunset times passed as props. Text on the panel stays dark for every sky tone in both themes, and visitors who prefer reduced motion see a fixed afternoon hour they can still scrub by hand.
