Skip to content

how can i add HTML in the custom:button-card ? #1149

Discussion options

You must be logged in to vote

in the "name" part work the HTML, but i have a better solution:

---
### Card Separator ###
card_ing_separator:
  name: "[[[ return variables.name ]]]"
  tap_action:
    action: "none"
  show_icon: false
  show_label: false
  show_name: true
  variables:
    height: "2px"
    width: "100vw"
    bgColor: "rgba(var(--color-theme), 0.1)"
    padding: "8px"
    name: " "
  styles:
    card:
      - box-shadow: "none"
      - border: "none"
      - border-radius: "0"
      - width: "[[[ return variables.width ]]]"
      - margin: "0"
      - padding-top: "[[[ return variables.padding ]]]"
      - padding-bottom: "[[[ return variables.padding ]]]"
      - position: "relative"
      - background:…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ingeniumdesign
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant