Skip to content

Installation

Terminal window
# Core library
pnpm add @elucim/core react react-dom
# DSL package (optional — for JSON-based authoring)
pnpm add @elucim/dsl

If you plan to use the <LaTeX> component or the DSL latex node type, add the KaTeX CSS to your HTML:

<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/katex@0.16.33/dist/katex.min.css" />

Elucim is written in TypeScript and ships full type definitions. No extra @types/ packages needed.

If you’re working in a monorepo with pnpm workspaces:

pnpm-workspace.yaml
packages:
- packages/*
packages/my-app/package.json
{
"dependencies": {
"@elucim/core": "workspace:*",
"@elucim/dsl": "workspace:*"
}
}

Head to the Quick Start to build your first animated scene.