? Widget · Anemlo
AnemloWeatherFeed|Widget

Put live weather on your site

The Anemlo widget is a small, free weather card that drops into any page with one snippet of code — no account, no API keys. It shows current conditions, alerts, and the forecast, and it updates itself.

Auto · your location
Light
Dark
Compact · °C
Ambient
Ambient · custom colors
Animated · live weather

Ambient backgrounds

Every condition has its own two-stop gradient — data-ambient="auto" picks the one that matches the current weather at the widget's location. Text color adapts automatically so it stays readable on both light and dark gradients. Click a swatch to preview it on a live widget.

Live preview · clicking a swatch sets this gradient
Sunny
#F59E0B → #EA580C
sun
Sunny
#F59E0B → #EA580C
moon
Clear night
#334155 → #312E81
cloud-sun
Partly cloudy
#38BDF8 → #FBBF24
cloud-moon
Partly cloudy night
#334155 → #4338CA
cloud
Overcast
#475569 → #1F2937
cloud-rain
Rain
#64748B → #1E3A8A
cloud-drizzle
Drizzle
#64748B → #334155
cloud-lightning
Thunderstorm
#334155 → #5B21B6
cloud-snow
Snow
#7DD3FC → #E0F2FE
wind
Wind
#2DD4BF → #0EA5E9
fog
Fog
#94A3B8 → #CBD5E1
smoke
Smoke
#94A3B8 → #64748B
dust
Dust
#D6A35C → #A16207
tornado
Tornado
#475569 → #7F1D1D

Embed it in three steps

Paste the first line where you want the weather to appear, add the script tag once (anywhere on the page), and you're done. The widget sizes itself, matches your site's colors, and stays up to date automatically.

<!-- where you want the weather -->
<div class="anemlo-widget"
     data-lat="32.78" data-lon="-96.80"
     data-theme="dark" data-unit="f"></div>

<!-- one script, anywhere -->
<script src="https://anemlo.wayfield.dev/widget.js" defer></script>
data-lat / data-lonoptional — omit to auto-detect: asks for the visitor's location, falls back to IP
data-theme"light" (default) · "dark"
data-unit"f" (default) · "c"
data-compactpresent — hides the feels-like / humidity row
data-ambient"auto" — a condition-driven gradient background · "custom" — your brand colors via data-ambient-from/to · "scene" — the animated live weather background (sun, rain, drizzle, storm, snow, wind, fog, smoke, dust, tornado, night…) · omit for the flat card · credit pill stays on every tier
data-ambient-from / data-ambient-tohex colors used with data-ambient="custom", e.g. "#0EA5E9" "#1E3A8A" — the gradient and text color adapt automatically
data-refreshseconds between live refreshes — default 600 (10 min) · "0" disables auto-refresh
Alertsalways-visible row — colored banner with the event when active, muted "No active alerts" when none · on ambient cards it becomes a frosted chip so it stays readable over the gradient
window.AnemloWidget{ lat, lon, theme, unit, ambient, ambientFrom, ambientTo, target } — injects the widget into a selector
Make it yours — one rule. Every part of the widget's look — colors, fonts, layout, light or dark, compact or full, and the ambient background (automatic, your own brand colors, or the animated live scene) — can be customized to match your site. The only requirement: the Anemlo credit pill stays visible and intact, just as it appears in the demos above. That's what keeps this free.

Live WeatherFeed widget

The live widget is the full WeatherFeed as an embed — current conditions up top, then today's signals, the 7-day outlook, radar, and the NHC video feed. Pick a mode, paste two lines, done. It auto-detects the visitor's location when you omit data-lat / data-lon, and refreshes itself every 10 minutes.

<!-- live current conditions -->
<div data-anemloweatherfeed="current"
     data-lat="32.8" data-lon="-97.0" data-theme="dark"></div>

<!-- full feed: current + signals + outlook + radar + videos -->
<div data-anemloweatherfeed="full"></div>

<!-- one script, anywhere -->
<script src="https://anemlo.wayfield.dev/anemloweatherfeed.js" defer></script>
data-anemloweatherfeed"current" — live conditions · "full" (default) — current + signals + outlook + radar + videos · "shorts" — video shorts only · "bits" — signals only · "outlook" — 7-day outlook · "radar" — radar tile
data-lat / data-lonoptional — omit to auto-detect the visitor's location
data-theme"light" (default) · "dark"
data-limitmax videos to show (default 4)
data-industrylawn · roofing · pool · paint · concrete · wash · hvac · pest · realestate · hurricane — scopes the signals to one trade
data-refreshseconds between live refreshes — default 600 (10 min) · "0" disables
Live · current conditions
Live · dark
Live · full feed