Skip to content

Stat Cards ​

Stat Cards are generic card components that can be used to display any data, such as Armor Class, Initiative, Spell Save DC, or custom values.

Armor Class
16
Mage Armor
Initiative
+2
Spell DC
15

Example ​

yaml
```stats
items:
  - label: Armor Class
    sublabel: Mage Armor (16)
    value: 13
  - label: Initiative
    value: '+{{ modifier abilities.dexterity }}'
  - label: Spell DC
    value: 14

grid:
  columns: 3
```

Configuration ​

PropertyTypeDefaultDescription
itemsArrayRequiredList of stat items to display
gridObject—Grid configuration options
denseBooleanfalseRenders a denser card

Item Object ​

PropertyTypeDefaultDescription
label †String—The main label for the stat
value †String/Number—The value to display
sublabel †String—Optional additional text below the value

† Supports dynamic content templates

Grid Object ​

PropertyTypeDefaultDescription
columnsNumber2Number of columns in the grid layout