Installation
Install Packages
Section titled “Install Packages”# Core librarypnpm add @elucim/core react react-dom
# DSL package (optional — for JSON-based authoring)# @elucim/core is a peer dependency, install it alongsidepnpm add @elucim/dsl @elucim/core react react-dom
# Editor (optional — visual canvas editor)# Requires both @elucim/core and @elucim/dsl as peer dependenciespnpm add @elucim/editor @elucim/core @elucim/dsl react react-domKaTeX (for LaTeX rendering)
Section titled “KaTeX (for LaTeX rendering)”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" />TypeScript
Section titled “TypeScript”Elucim is written in TypeScript and ships full type definitions. No extra @types/ packages needed.
Monorepo / Workspace Setup
Section titled “Monorepo / Workspace Setup”If you’re working in a monorepo with pnpm workspaces:
packages: - packages/*{ "dependencies": { "@elucim/core": "workspace:*", "@elucim/dsl": "workspace:*" }}Next Steps
Section titled “Next Steps”Head to the Quick Start to build your first animated scene.