




















Excaliframe brings animated diagrams and auto-export to Excalidraw in VS Code. Create stunning animated visualizations that export automatically to SVG—perfect for documentation, blog posts, and presentations.
powered by Excalidraw.
(- Made with Excaliframe ;-) -
{framename}.stat.light.exp.svg - static light version{framename}.stat.dark.exp.svg - static dark version{framename}.anim.light.exp.svg - animated light version (if frame has animated elements){framename}.anim.dark.exp.svg - animated dark version (if frame has animated elements)jumping__horse, running__dog).exp.svg files to view exports alongside your source../), or absolute paths in frame names.excalidraw, .excalidraw.svg, and .excalidraw.png filesSee Excaliframe in action! Check out real-world examples:
Have you used Excaliframe in your project? Share it and we'll feature it here!
Create a new file: Use the Command Palette (Cmd+Shift+P) and run "Excalidraw: New File"
Draw your diagram: Use Excalidraw's tools to create shapes, arrows, text, etc.
Create a frame:
Ctrl/Cmd + Shift + Fjumping__horseEnable export:
Add animations:
Preview your animation:
Use in Markdown:


The images update instantly when you modify the frame!
The Animation Panel has two tabs:
../exports/animation)Configure animation for selected elements:
Draw (✏️)
Fade (〰️)
None (⃠)
Files are named using the pattern: {framename}.{type}.{theme}.exp.svg
jumping__horse) or customstat (static) or anim (animated)light or darkExample exports:
jumping__horse.stat.light.exp.svg
jumping__horse.stat.dark.exp.svg
jumping__horse.anim.light.exp.svg (only if frame has animated elements)
jumping__horse.anim.dark.exp.svg (only if frame has animated elements)
.exp.svg file opens in the Frame Reference viewerGitHub/GitLab Markdown:


HTML:
<picture>
<source srcset="./animation.anim.dark.exp. svg" media="(prefers-color-scheme: dark)">
<img src="https://github.com/martin-lysk/excalidraw-vscode/raw/HEAD/animation.anim.light.exp. svg" alt="Diagram">
</picture>
VS Code Markdown:

(Uses the default theme version)
Excaliframe can be configured via VS Code settings:
{
// Theme (default: "light")
"excaliframe.theme": "auto", // "auto", "light", or "dark"
// Language (default: VS Code display language)
"excaliframe.language": "en",
// Workspace library path
"excaliframe.workspaceLibraryPath": "library.excalidrawlib",
// Image export settings
"excaliframe.image": {
"exportScale": 1, // 1, 2, or 3
"exportWithBackground": true,
"exportWithDarkMode": false
},
// Frame export debounce delay (ms)
"excalidraw.frameExportDebounce": 500,
// Supporter license key (removes watermark)
"excaliframe.licenseKey": "your-license-key-here"
}
theme: Controls Excaliframe's color theme
auto: Syncs with VS Code's themelight: Always light themedark: Always dark themelanguage: UI language (supports 30+ languages)
workspaceLibraryPath: Path to library file (relative to workspace root)
image.exportScale: Resolution multiplier for embedded images
1: Standard resolution2: 2x resolution (sharper, larger files)3: 3x resolution (very sharp, largest files)frameExportDebounce: Delay (ms) before re-exporting after changes
licenseKey: Supporter license to remove watermarks
Use descriptive names: Double-click frame name to edit
tutorials/installation/process.diagram
../assets/logo.animation
Group related elements: Put related animations in the same frame
Layer frames: Use multiple frames for complex diagrams
Start simple: Begin with one or two animated elements
Use the timeline: Visual feedback helps understand timing
Mix animation types:
Duration guidelines:
Stagger elements: Offset start times for sequential effects
Limit frame size: Very large frames (>50 elements) may slow down
Use debounce: Increase frameExportDebounce if editing feels sluggish
Export selectively: Only toggle "Export" on frames you need
1. Create frame: `tutorial/step1.setup`
2. Add static background elements (animation: none)
3. Add first action (animation: draw, start: 0ms)
4. Add explanation (animation: fade, start: 500ms)
5. Export and use in documentation
1. Import or draw logo
2. Wrap in frame: `assets/logo.anim`
3. Animate strokes (draw) then fills (fade)
4. Export for web use
1. Create base diagram frame (static)
2. Create overlay frame for flow (animated)
3. Combine in markdown with different themes
Excaliframe adds these features to the base excalidraw-vscode extension:
This extension is a fork of the excellent excalidraw-vscode by pomdtr, which integrates Excalidraw into VS Code.
Same as the original excalidraw-vscode project.
Contributions are welcome! Please feel free to submit issues or pull requests on GitHub.
Made with ❤️ by Martin Lysk
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。