Tables & Stat Blocks

Beginner · 5 min read

Overview

Tables are a natural fit for card games. Stat blocks showing attack, defense, and health values. Score reference charts. Ingredient lists. Equipment grids. Chitmunk's table element lets you add structured data grids directly to your card designs, no need to fake it with carefully aligned text boxes and rectangles.

Tables resize, recolor, and bind to CSV data just like other Chitmunk elements, so each card in your deck can display different stats from your spreadsheet.

Adding a Table

To add a table to your card:

  1. Click the Table button in the tool strip (left edge of the canvas).
  2. A default table element appears on the canvas with sample rows and columns.
  3. Select the table and use the properties panel on the right to configure its structure and appearance.

The table is added as a single element that you can move, resize, and rotate like any other element. Resizing the table automatically adjusts column widths and row heights proportionally.

Configuring Rows and Columns

In the properties panel, you can control the table's structure:

To edit a cell's content, double-click the cell directly on the canvas, or select the table and edit cell values in the properties panel's data grid.

Header Row Styling

Most stat blocks and data tables benefit from a visually distinct header row. Chitmunk makes this easy:

Tip: For a classic stat block look, use a dark header with white text and light alternating row colors below it.

Cell Data and CSV Binding

Table cells support the same {{Column Name}} template syntax as text elements. This means you can bind individual cell values to your CSV data, and each card in your deck will display different stats.

For example, a stat block table might have:

When you import a CSV with Attack, Defense, and Health columns, each card automatically shows that row's values in the table. Use the card navigator to preview different rows and verify the data is correct.

You can also mix static text and template variables in the same cell, for example, {{Attack}} dmg would display "5 dmg" if the Attack column contains 5.

Alternating Row Colors

Alternating row colors (sometimes called "zebra striping") make tables easier to read, especially on small cards where rows are close together. To enable this:

  1. Select the table element.
  2. In the properties panel, enable the Alternating Colors toggle.
  3. Set the even row color and odd row color. A subtle contrast between the two is usually enough, for example, white and a very light gray.

The header row (if enabled) uses its own color and is not affected by the alternating pattern. Alternation starts with the first data row after the header.

Font and Border Customization

Tables share the same typography controls as text elements:

For borders, the properties panel offers:

Tip: For a modern stat block look, try removing inner borders and using only alternating row colors to separate rows. Add a bold bottom border on the header row to divide it from the data.

Ready to try it?

Open the editor, it's free, just sign in.

Start Designing