Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA full weather screen over a living canvas sky that blends smoothly between clear day, clouds, rain, snow, starry night and thunderstorms: drifting parallax clouds, sun rays, a cratered moon, twinkling stars, slanted rain, swaying snow and lightning flashes, all reacting to the pointer. Frosted glass modules hold a huge current temperature, a drag-to-scroll hourly strip with momentum, rubber banding and a temperature-colored curve, a 10-day list whose range bars grow in with a stagger and share one temperature gradient, plus UV, wind compass, humidity and sun-arc tiles. A glass segmented switcher with a springy lens changes the condition (controlled or uncontrolled), the sky freezes on a still frame under reduced motion, pauses offscreen and falls back to a CSS gradient without canvas.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { WeatherScreenLive } from "@/components/hyperblur-pro/weather-screen-live"
<WeatherScreenLive />
<WeatherScreenLive city="Santarém" condition="rain" unit="C" showSwitcher={false} />| Prop | Type | Default | Description |
|---|---|---|---|
| city | string | "Alder Bay" | Location name in the header. |
| condition | "clear" | "cloudy" | "rain" | "snow" | "night" | "storm" | undefined | Controlled sky condition. Leave undefined to let the switcher drive it. |
| defaultCondition | WeatherCondition | "clear" | Starting condition when uncontrolled. |
| onConditionChange | (c: WeatherCondition) => void | undefined | Called when the switcher picks a condition. |
| unit | "C" | "F" | "C" | Temperature unit. Sample data is converted automatically. |
| hourly / daily | WeatherHour[] / WeatherDay[] | generated per condition | Your own forecast data (temperatures in Celsius). |
| showSwitcher | boolean | true | Show the glass condition switcher. |
| intensity | number | 1 | Amount of rain and snow particles, 0 to 1. |
| maxDpr | number | 1.5 | Device pixel ratio cap for the sky canvas. |
Source code is included in Pro and above