⚠️ Retired — 2026-07-25.@vanduo-oss/hex-gridis no longer developed or released. The Vanduo legacy line (the dual-engine Vanilla + Vue 3 system) is retired; development continues in the perspective line.@vanduo-oss/vd3-cbun/hex-gridis the successor. The final release,1.1.0, stays on npm and keeps working — this is a stop to development, not a removal.New docs: https://vanduo-oss.github.io/vd3-docs/ · Migration guide: https://vanduo-oss.github.io/vd3-docs/guides/migration
Interactive canvas hex grids for the Vanduo design system.
VdHexGrid — canvas-based hex grids with axial math, pan/zoom, terrain, and pathfinding. Theme-aware; framework-agnostic core with an optional Vue 3 wrapper.
pnpm add @vanduo-oss/hex-gridimport { VdHexGrid } from "@vanduo-oss/hex-grid";
const grid = new VdHexGrid({
element: document.getElementById("hex-container"),
size: 30,
width: 15,
height: 10,
});
grid.on("select", (hex) => console.log("selected", hex));Vue 3 (optional peer): import { VdHexGrid } from "@vanduo-oss/hex-grid/vue".
<VdHexGrid :size="30" :width="15" :height="10" @select="onSelect" />- Docs & live demos — https://vanduo.dev
- Agent / LLM reference (full class + hex-math API) — SKILL.md
- Changelog — CHANGELOG.md
MIT © Vanduo