Visual shapes¶
Shapes are simple visual building blocks that do not need to display a value themselves. They can create backgrounds, borders, separators, badges, highlights, and other structure around the information shown by the card.
This section introduces the available Arc, Circle, Line, Polygon, Rectangle, and Text tools and points to the page for each shape.
Choose a shape¶
Choose the shape by the visible geometry you need; each shape page then explains only the settings relevant to that shape.
| You want to add... | Shape |
|---|---|
| A panel, background, border, or fitted box | Rectangle |
| A circular background, dot, or ring | Circle |
| A separator or connection | Line |
| A curved line or partial circle | Arc |
| A triangle, hexagon, or other polygon | Polygon |
| A heading, caption, or composed text | Text |
Add a shape¶
Each shape has its own section under layout:. For example:
The individual shape pages show how to size, style, color, fit, or reuse that shape.
Use an entity with a shape¶
A shape can use an entity when its color, visibility, action, or another supported setting should follow that entity:
Reuse the same shape¶
Use id and same_as when several shapes should start from the same definition. See Reuse.