Reference implementation of the built-in widgets that ship with GlassHome, the local-first dashboard for Home Assistant. Not published to npm -- browse the source for widget development patterns, and see the widget development guide to build your own.
widgets/
src/
clock/ # Analog/digital clock
weather/ # Weather forecast
light/ # Light control with brightness/color
switch/ # Toggle switch
climate/ # HVAC controls
camera/ # Live camera feed
media-player/ # Media playback controls
sensor/ # Sensor readings with sparkline
battery/ # Battery status overview
area/ # Area entity dashboard
...
Use the @glasshome/widget-sdk to create your own widgets:
bunx @glasshome/widget-cli create my-widgetFull docs at glasshome.app/docs
MIT