Circle¶
A circle adds a round visual element to a card. Use it as an indicator, background, outline, status marker, or decorative element.
Basic configuration¶
xpos and ypos position the center.
Configuration options¶
| Field | Required | Description |
|---|---|---|
xpos | Yes | Horizontal position of the center |
ypos | Yes | Vertical position of the center |
radius | One radius | Radius in SVG units |
radius_percent | One radius | Radius relative to the card |
entity_index | No | Entity used by state-dependent colors and actions |
styles | No | Fill, outline, and opacity |
color_stops | No | Value- or state-based colors |
Use either radius or radius_percent.
Choose the radius¶
Use radius_percent when the circle should scale with the card.
Fill and outline¶
| Style | Use |
|---|---|
fill | Inside color |
stroke | Outline color |
stroke-width | Outline width |
opacity | Opacity of the complete circle |
fill-opacity | Opacity of the fill |
stroke-opacity | Opacity of the outline |
Color from an entity¶
Connect the circle to an entity and select a color-stop style: