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
gridObjectGrid configuration options
denseBooleanfalseRenders a denser card

Item Object

PropertyTypeDefaultDescription
labelStringThe main label for the stat
valueString/NumberThe value to display
sublabelStringOptional additional text below the value

† Supports dynamic content templates

Grid Object

PropertyTypeDefaultDescription
columnsNumber2Number of columns in the grid layout