Skip to main content

Grid Carbon Forecast: sustainable web design example

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

About the Grid Carbon Forecast

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.

Runtime inputs for the Grid Carbon Forecast

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.

InputWhat it changesType
regionRegionText
thresholdClean threshold (g/kWh)Number
peakPeak intensityNumber
taskScheduled taskText
panelColorPanelColour
lineColorCurveColour
cleanColorClean windowColour
dirtyColorHigh carbonColour
textColorTextColour
radiusCorner radiusNumber
liftHover liftNumber
interactiveMouse interactionOn/off
tiltHover tilt (deg, 0 = off)Number
pressPress squishNumber
floatExtra idle float (px)Number
speedAnimation speedNumber
introEntrance animationOn/off
introStyleExtra entrance styleChoice
introDurationEntrance duration (s)Number
colorTweenColour change fade (s)Number
pageModePage backgroundChoice
pageTopPage colourColour
pageBottomPage gradient endColour

Add the Grid Carbon Forecast to React or Next.js

  1. Open an element above and set its text, colours and motion, or keep the defaults.
  2. Download the .bexode file (or the customized .exode) and put it in your public folder.
  3. Install the runtime with npm i exodeui.
  4. Render it with 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
      }}
    />
  );
}

Frequently asked questions

Is the Grid Carbon Forecast element free?
Yes. You can preview it, customize it and download the .exode and .bexode files without paying. ExodeUI also has a free Community plan for editing it in the studio.
What does the Grid Carbon Forecast do when tapped?
It schedules a task in the cleanest hour. You can fire the same action from code with the tap input, and replay the entrance with the replay input.
Can I change the colours and text of the Grid Carbon Forecast?
Yes. All 7 colours and every label are runtime inputs. Set them in the customizer above or pass them from your code; colour changes cross-fade.
Does it have keyframes I can edit?
Yes. The file has a keyframed entrance and an ambient float on the timeline, which you can edit in the ExodeUI Animate tab. Its own motion and interaction stay live and follow the speed input.
Does it work outside React?
The same file works with the other ExodeUI runtimes, including Vue, Svelte, Angular, Solid, React Native, SwiftUI and Flutter.