A sticky header card for Home Assistant dashboards with dynamic greeting, weather display, person status detection, and a customizable badge row.
- Dynamic time-based greeting (Jinja2 template support)
- Subtitle with person status detection (Jinja2 template support)
- Weather entity display with condition icons
- Customizable badge row (flexible wrapping/scrolling)
- Responsive layout with floating/full-width modes
- Sidebar integration and mobile landscape scroll behavior
- Automatic HA header height detection (Kiosk-mode aware)
- Full UI configuration (no exclusive YAML features)
- EN/DE multilanguage support
- Tip: use my mirror-card to show the header on each view
- Home Assistant 2026.3.0 or newer
- HACS (recommended for installation)
Or add manually:
- Open HACS in your Home Assistant instance
- Click the three dots in the top right corner and select Custom repositories
- Enter
https://github.com/thecodingdad/dashboard-header-cardand select Dashboard as the category - Click Add, then search for "Dashboard Header Card" and download it
- Reload your browser / clear cache
- Download the latest release from GitHub Releases
- Copy the
dist/contents toconfig/www/community/dashboard-header-card/ - Add the resource in Settings → Dashboards → Resources:
- URL:
/local/community/dashboard-header-card/dashboard-header-card.js - Type: JavaScript Module
- URL:
- Reload your browser
type: custom:dashboard-header-card
weather_entity: weather.home
floating_mobile: true
badges:
- entity: sensor.temperature
- entity: sensor.humidity
badges_overflow: scroll| Option | Type | Default | Description |
|---|---|---|---|
person_entity |
string | auto | Person entity (auto-detect from logged-in user) |
weather_entity |
string | — | Weather entity for display |
floating_mobile |
boolean | false | Floating layout on mobile |
floating_desktop |
boolean | false | Floating layout on desktop |
breakpoint |
number | 768 | Mobile/desktop breakpoint in px |
scroll_in_landscape |
boolean | false | Enable scroll in landscape mode |
respect_sidebar |
boolean | true | Offset for HA sidebar |
top_offset |
string | auto | Fixed header height offset |
max_width |
string | — | Maximum width in floating mode |
badges |
array | — | Badge configurations |
badges_align |
string | — | Badge row alignment |
badges_overflow |
string | — | Badge overflow behavior (wrap/scroll) |
This card supports English and German.
This project is licensed under the MIT License - see the LICENSE file for details.
