A free, animated carbon badge for footers and about pages, editorial gauge style. Every colour, text and motion setting is a runtime input.
Updated October 2026
The Website Carbon Badge is a carbon badge with a editorial gauge look, made for footers and about pages. It animates a gauge needle that eases to the grade and a swaying leaf, and a tap switches between green and grey hosting. 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 |
|---|---|---|
| grams | Grams CO₂ per view | Number |
| cleaner | Cleaner than (%) | Number |
| site | Site | Text |
| hostLabel | Hosting label | Text |
| panelColor | Panel | Colour |
| goodColor | Good | Colour |
| badColor | Poor | Colour |
| inkColor | Ink | Colour |
| greenHost | Green hosting on | On/off |
| 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 WebsiteCarbonBadgeWidget({ data }) {
return (
<ExodeUICanvas
src="/ui-trends/files/sustainable/01-carbon-badge.bexode"
autoPlay
style={{ width: 600, height: 400 }}
inputs={{
site: data.site,
hostLabel: data.hostLabel,
// every colour is an input too, for example a brand accent
...data.theme
}}
/>
);
}