Latest version 1.2
Released 1 day ago on 15th May, 2026
D&D 5e NPC Statblock — Usage Guide
Renders a Monster Manual–style statblock on any Kanka entity. All properties are optional — blank ones are simply hidden.
I would recommend using this statblock helper to aid in formatting the rich text sections
https://codepen.io/Uncarbonised/full/ZYBBepa
Properties
Most properties are plain text and self-explanatory. The ones worth noting:
Rich text properties
The following properties render raw HTML, so they need to be formatted as HTML, not plain text:
npc_traitsnpc_spellcastingnpc_actionsnpc_bonus_actionsnpc_reactionsnpc_legendary_actionsnpc_lair_actions
Each ability or action follows the Monster Manual format — a bold name, then the description:
<p><strong>Multiattack.strong> The captain makes three melee attacks.p>
<p><strong>Longsword.strong> <em>Melee Weapon Attack:em> +6 to hit, reach 5 ft., one target. <em>Hit:em> 8 (1d8 + 4) slashing damage.p>Using the Statblock Helper
Writing HTML by hand gets tedious. The included NPC Statblock Formatter.html tool generates this for you. Open it in any browser (no install needed), fill in names and descriptions, and copy the output directly into the Kanka property.
Dark mode
The statblock has a ☾ Dark button in the top-right corner that toggles a dark theme. This requires the JS file to be installed alongside the CSS and template.