I made a DGM.js - react component for infinite canvas which can be used to develop Excalidraw, tldraw, Miro, etc. It supports:
- Headless components (React) - Infinite canvas - Multi-page support - Hand-drawn styles - Real-time collaboration - Dark mode (adaptive colors) - Export to image (PNG, SVG) - Rich text - JSON export/import