Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { StormglassHero } from "@/components/blocks/stormglass-hero/stormglass-hero";
export default function Background() {
return (
<StormglassHero
className="h-svh w-full"
layout="orbit"
eyebrow="Nimbic Forecast API · v4"
headline="See the storm before it forms."
subline="Lightning, wind and rainfall forecasts for every square kilometre on Earth, refreshed every 90 seconds through one API."
primaryLabel="Get an API key"
secondaryLabel="Read the docs"
figures="99.99% Uptime · 41k Weather stations · 14d Forecast horizon"
customers="Gridwell · Aerolis · Tidemark · Harrow Energy · Skyfold · Coastline Air · Voltaro"
customersLabel="Forecasting for"
textColor="#f4f2fb"
accent="#b4a8ff"
backgroundColor="#040308"
cloudLight="#9a8fd8"
cloudDark="#160d2b"
rimColor="#7a6dff"
boltColor="#f1e9ff"
planetSize={1}
strike="arc"
strikeEvery={3.2}
tickerSpeed={32}
/>
);
}Colours
Controls
A launch hero for a storm-forecasting API: a storm planet turns behind the copy and strikes lightning where you click, live figures count up and customer wordmarks drift along the bottom. Four layouts and a stacked phone layout. Pauses off screen; reduced motion shows one lit frame with a bolt.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| layout | "orbit" | "horizon" | "crescent" | "daylight" | "orbit" | Where the planet and the copy sit: planet high on the right, a horizon from below, a crescent on the left, or a daylight sheet. |
| eyebrow | string | "Nimbic Forecast API · v4" | Small label shown above the headline. |
| headline | string | "See the storm before it forms." | The headline of the section, three to eight words. |
| subline | string | "Lightning, wind and rainfall forecasts for every square kilometre on Earth, refreshed every 90 seconds through one API." |

























