Tables & Stat Blocks

Beginner 5 min read Updated

Heads up: the table element is temporarily unavailable in the editor — there is currently no Add Table button while we rework it. Existing tables in saved projects still render and export normally. This guide describes how tables work when the tool returns.

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. Chitmunk applies this automatically — there's no on/off toggle:

  1. Select the table element.
  2. In the properties panel's Table Colors section, set Cell BG and Alt Rows. These two colors alternate automatically down the data rows.
  3. A subtle contrast between the two is usually enough, for example, white and a very light gray. Set them to the same color to remove the striped look.

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 some typography controls with text elements, though options are more limited:

Cell text always renders left-aligned in the current build — there's no per-column alignment control, and font family is fixed at table creation rather than user-selectable.

For borders, the properties panel offers:

Tip: For a modern stat block look, try setting Border Width to 0 and relying on alternating row colors to separate rows instead of grid lines.

Ready to try it?

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

Start Designing