HKI Navigation Card - v1.2.0

HKI Navigation Card

I have made (with help of AI) a card for Home Assistant that gives you the ability to have a very powerful and customizable navigation bar. This card has so much configurable options that it is pretty much impossible to show it all in just a few screenshots. I’d recommend that you try it instead!

It is fully configurable via the UI and supports the sections dashboard.
You may also be interested in HKI PostNL Card and HKI Header Card

The card does have bugs though, so use with caution :slight_smile: .

Why the name HKI? Well in the past I shared a complete dashboard called Homekit Infused. And for the lack of a better name I simply gave it the same abbreviation, so bite me :joy: . I hope someone will enjoy this card.

Screenshots

Core Features

  • :art: Fixed-position floating buttons - Stay visible while scrolling
  • :iphone: Responsive design - Automatic sidebar detection and responsive positioning
  • :dart: Multiple layouts - Corner, center, and spread positioning options
  • :arrows_counterclockwise: Dynamic visibility - Show/hide buttons based on conditions
  • :performing_arts: Advanced styling - Custom colors, shadows, backgrounds, and more

Button Features

  • :radio_button: Multiple button types - Icon, pill, or icon+label combinations
  • :art: Customizable appearance - Per-button backgrounds, colors, and opacity
  • :straight_ruler: Flexible sizing - Adjustable button sizes and gaps
  • :label: Smart labels - Auto-show on hover with customizable styling
  • :dart: Action support - Tap, hold, and double-tap actions

Layout Options

  • :dart: Bottom right - Classic floating action button position
  • :dart: Bottom left - Alternative corner positioning
  • :dart: Bottom center - Centered navigation bar
  • :triangular_ruler: Center spread - Distribute buttons across the full width
  • :twisted_rightwards_arrows: Horizontal & vertical - Organize buttons in rows and columns

Advanced Features

  • :art: Bottom bar overlay - Optional backdrop behind buttons (experimental)
  • :iphone: Screen-size overrides - Different offsets for mobile/tablet/desktop
  • :performing_arts: Label customization - Full control over label styling and positioning
  • :arrows_counterclockwise: Base button - Always-visible anchor button with expandable groups
  • :dart: Z-index control - Precise layering control

Installation

HACS (Recommended)

  1. Open HACS in your Home Assistant instance
  2. Go to “Frontend”
  3. Click the menu in the top right and select “Custom repositories”
  4. Add https://github.com/jimz011/hki-navigation-card as a Lovelace repository
  5. Click “Download” on the HKI Navigation Card
  6. Restart Home Assistant

Manual Installation

  1. Download hki-navigation-card.js from the latest release
  2. Copy it to <config>/www/ (create the folder if it doesn’t exist)
  3. Add the resource in your Lovelace configuration:
resources:
- url: /local/hki-navigation-card.js
  type: module

For configuration please check the docs at GitHub - jimz011/hki-navigation-card: A fully customizable navigation bar for Home Assistant

2 Likes

1.0.1

Changes:

  • Refactored and optimized code for speed and less CPU usage
  • Removed unused/deprecated code
  • Code reduced by 50% giving the card a much smaller footprint and better performance
  • You can now see the installed version in the console

1.0.2

Changes:

  • Re-ordered the visual editor for more clearance, it is now easier to navigate the settings
  • Added a lightweight jinja parser to show {{ user }} and {{ version }}
  • Bugfixes

1.2.0

Changes:

  1. Action conflict cleanup - When you set an action (like navigate), conflicting properties (like url) are automatically removed
  2. Minimal config - Defaults are no longer saved to YAML unless you change them, keeping configs clean
  3. Config validation on start - Automatic cleanup removes duplicates and validates the config when the card loads
  4. Better nested hierarchy - Restructured for much cleaner YAML:
  5. Auto-migration - Old configs automatically convert to the new structure without breaking
  6. Sometimes buttons would become unresponsive when the HA app becomes idle or when navigating from another dashboard. This should be addressed, but if you do bump into problems please notify me!

For notes between 1.0.2 and the current version please visit the repo!

1 Like