A free, animated forecast chart for grid-aware sites and dev tools, dark chart style. Every colour, text and motion setting is a runtime input.
Updated October 2026
The Grid Carbon Forecast is a forecast chart with a dark chart look, made for grid-aware sites and dev tools. It animates a 24-hour carbon curve with clean windows and a moving now marker, and a tap schedules a task in the cleanest hour. It also has keyframes you can edit in the ExodeUI timeline: an entrance and an ambient float.
These 23 inputs, plus the replay and tap triggers, can be set from the customizer above, from the ExodeUI studio, or from your code while the element runs.
| Input | What it changes | Type |
|---|---|---|
| region | Region | Text |
| threshold | Clean threshold (g/kWh) | Number |
| peak | Peak intensity | Number |
| task | Scheduled task | Text |
| panelColor | Panel | Colour |
| lineColor | Curve | Colour |
| cleanColor | Clean window | Colour |
| dirtyColor | High carbon | Colour |
| textColor | Text | Colour |
| radius | Corner radius | Number |
| lift | Hover lift | Number |
| interactive | Mouse interaction | On/off |
| tilt | Hover tilt (deg, 0 = off) | Number |
| press | Press squish | Number |
| float | Extra idle float (px) | Number |
| speed | Animation speed | Number |
| intro | Entrance animation | On/off |
| introStyle | Extra entrance style | Choice |
| introDuration | Entrance duration (s) | Number |
| colorTween | Colour change fade (s) | Number |
| pageMode | Page background | Choice |
| pageTop | Page colour | Colour |
| pageBottom | Page gradient end | Colour |
npm i exodeui.ExodeUICanvas and pass your text, numbers and colours as inputs.import { ExodeUICanvas } from 'exodeui';
export function GridCarbonForecastWidget({ data }) {
return (
<ExodeUICanvas
src="/ui-trends/files/sustainable/04-grid-forecast.bexode"
autoPlay
style={{ width: 600, height: 400 }}
inputs={{
region: data.region,
task: data.task,
// every colour is an input too, for example a brand accent
...data.theme
}}
/>
);
}