Add real-time Texas power outage data to your website for free. Three widget styles, light and dark themes, and a tiny footprint β under 5KB.
Data updates every 15 minutes from 83+ Texas utilities via the DOE Eagle-I system.
Single script, no dependencies, no CSS files. Under 5KB gzipped with built-in client caching.
Light and dark themes that look great on any site. All styles are inline β zero CSS conflicts.
Widgets adapt to their container. Works on desktop, tablet, and mobile.
Compact inline counter β great for sidebars, headers, or footers.
<div data-ec-widget="badge" data-theme="light"></div> <script src="https://www.electricchoice.com/outages/widget.js" async></script>
Outage card for a specific county β ideal for local news sites or community pages.
<div data-ec-widget="county" data-county="Harris" data-theme="light"></div> <script src="https://www.electricchoice.com/outages/widget.js" async></script>
Full overview with top affected counties β perfect for energy blogs or news dashboards.
<div data-ec-widget="summary" data-theme="light"></div> <script src="https://www.electricchoice.com/outages/widget.js" async></script>
| Attribute | Values | Description |
|---|---|---|
data-ec-widget |
badge, county, summary |
Widget type (required) |
data-theme |
light, dark |
Color theme (default: light) |
data-county |
Any Texas county name | County for the county widget |