# custom-cards/button-card

❇️ Lovelace button-card for home assistant

Repository: https://github.com/custom-cards/button-card
Canonical: https://ross.abutalabs.com/products/button-card
Language: TypeScript
License: MIT
License Family: permissive
Topics: home-assistant, lovelace, lovelace-ui, home-automation, home-assistant-custom
Last push: 2026-08-09T16:08:31+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 56, longevity 100
- inputs: {"age_days": 2929, "days_push": 24, "days_rel": 293, "gap_med": 3, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2488, forks 280 (observed 2026-08-28T04:06:55.687649+00:00)

## What it is
A highly configurable custom Lovelace card for Home Assistant dashboards, written in TypeScript. It lets users create custom buttons for any entity with extensive styling, templating, and interaction options.

## Use cases
- create custom dashboard buttons for home assistant entities
- toggle lights with a styled lovelace card
- show sensor states with custom icons and colors
- add tap, hold, and double-click actions to dashboard buttons
- use javascript templates to dynamically style home assistant cards
- build a fully customized home assistant control panel

## When to choose
- you use Home Assistant with Lovelace dashboards and need buttons beyond the built-in cards
- you want per-state colors, icons, and CSS styling on dashboard controls
- you need multiple interaction types like tap, hold, double click, and momentary press actions

## When to avoid
- you don't use Home Assistant or its Lovelace UI
- you need a general-purpose web UI component library
- you want a no-configuration dashboard without custom YAML

## Facets
- artifact type: plugin
- maturity: active
- function: ui-components, state-management, templating
- domain: frontend, web-development
- platform: browser, self-hosted
- tags: home-assistant, lovelace, custom-card, hacs, dashboard, home-automation, automation, web-server

## Member repositories
- custom-cards/button-card (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:55.687649+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:27:52.172803+00:00, confidence not recorded.
  - readme: https://github.com/custom-cards/button-card (fetched 2026-08-28T04:06:55.687649+00:00, sha efabfe601a5a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
