Icon Only Chip
Description¶
![]()
This chip displays just an icon.
Variables¶
| Variable | Default | Required | Notes |
|---|---|---|---|
| ulm_chip_icon_only | This is the icon to show. See icons to read more about the used unicode emojis. |
Usage¶
- type: 'custom:button-card'
template: chip_icon_only
variables:
ulm_chip_icon_only: '❤️'
Template Code
chip_icon_only.yaml
---
### Chip Icon Only ###
chip_icon_only:
template: "chips"
label: |
[[[
var icon = "❔";
if (variables.ulm_chip_icon_only){
var icon = variables.ulm_chip_icon_only;
}
return icon;
]]]