Skip to content
REC 00:00:00:00

Write motionas code.It stays editable.

Open source. Renders in the browser.

New in 1.0: the motion layer.

Building with code?
elah 1.0 is out: the motion and programmatic layer.Read the changelog →
Program · hero.json
Rendered by the engine. The diamonds are the keyframes, and the playhead is the timeline playing.
01 · GitHub stars
72
02 · npm downloads
31.6K
03 · Packages · Apache-2.0
5
04 · Release
v1.0.0
SC 01 · Write

Write it like a web page, edit it like a timeline, render it in the browser.

1 · write

An html scene

The motion lives in a data-motion attribute.

<section id="tc" data-scene="title-card" data-at="0" data-duration="4">
  <div id="bar" data-motion="in: slide-in-left 0.5s @0.1"></div>
  <h1 id="title" data-motion="split: word 3f; each: y: 0.5 -> 0 0.5s quad-out; each: opacity: 0 -> 1 0.5s quad-out">Quarterly results</h1>
  <p id="sub" data-motion="in: fade-in 0.6s @0.9">Revenue up 24 percent on the year</p>
</section>

#tc { position: relative; width: 1920px; height: 1080px; background-color: #0d1117; }
#bar { position: absolute; left: 160px; top: 380px; width: 24px; height: 300px; background-color: #00c2ff; border-radius: 12px; }
#title { position: absolute; left: 230px; top: 360px; width: 1500px; margin: 0; font-family: bebas-neue; font-size: 200px; line-height: 1; color: #ffffff; }
#sub { position: absolute; left: 234px; top: 590px; width: 1400px; margin: 0; font-family: inter; font-size: 52px; color: #9ca3af; }

2 · timeline

Clips and keys

It lands as native clips and keyframes. Each key has an id, a frame, a value and an easing.

3 · export

Exported in your browser

MP4 export runs on your own machine in Chrome or Edge. No render server, and nothing is uploaded.

title-card.mp4
Exported in your browser
Try it in the playground
SC 02 · Bind

The motion is bound to the timeline.

Code, or a model, describes the motion, and elah lands it as keyframes: not a video, not a black-box layer. Every animated property is a channel on a clip, so it can be inspected, retimed, split and diffed like any other data. Hover a row under Keys to jump to that key.

Source, keys and timeline load as you scroll here.
SC 03 · Keys

Everything is a key you can read.

Each loop below is rendered by the engine, not recorded. New in 1.0.

Easing and springs

Named eases including back, elastic and bounce, any cubic-bezier, and springs.

{ channel: 'x', at: 1.4, value: 0.85, curve: 'back-out' }

Stagger

From the start, centre, end or edges, at random, or across a grid.

stagger: children 4f

Text animators

Animate by character, word or line, or scramble text into place.

reveal: { preset: 'char-rise', stagger: 0.04 }

Motion paths and draw-on

A clip travels an SVG path, and strokes draw on. Path morph is keyable too.

motionPath: { d: 'M 80 270 C 200 40, 440 40, 560 270' }

Expressions

Drive a channel with wiggle, loop, sin and more.

{ channel: 'y', source: 'wiggle(3, 0.06)' }

3D tilt for media and groups

rotateX and rotateY with perspective, on video, image, sequence and compound clips.

channels: { rotateY: { keys: [{ frame: 45, value: 0.6 }] } }

Effects and transitions

GPU effects and nine transitions, between clips of one track.

effects: [{ kind: 'glow' }] // + a zoom transition
SC 04 · Claude

Make a video from Claude Code.

Install the plugin, describe the video, and Claude writes it as HTML and CSS motion. elah turns it into a normal project on a timeline that you can open, edit and export as mp4 in your own browser.

Claude Code plugin

Available

Run /elah:video or /elah:promo with a short brief. Claude writes the video, the plugin validates it with the elah engine, and an artifact opens it for preview, editing and mp4 export.

/plugin marketplace add elahlabs/elah
/plugin install elah@elah

claude.ai artifact

Available

Ask Claude for a video in a chat, see it on a timeline, and export the mp4 in your own browser. No server, nothing uploaded.

SC 05 · Play

Launch a playground.

Each playground is a live deployment of the elah engine, running in your browser.

Live

Motion

Write a scene as HTML and CSS, convert it to clips and keyframes, read the keys in a table, and export an MP4 in your browser.

Launch playground
Live

Full Editor

Complete editor with asset panel, GPU-accelerated preview, interactive overlays, timeline, and export pipeline. The full @elah/editor composition.

Launch playground
Live

Timeline Only

Isolated timeline UI demo. Explore tracks, clips, snapping, keyboard shortcuts, and the TimelineEngine without the full editor stack.

Launch playground
Preview

Full Editor Demo

Guided demo with pre-loaded sample media. Walks through the major features — cut, trim, text, transitions, and export — in a single session.

Launch playground
SC 06 · Libraries

Choose a library.

Five composable packages. Drop in the whole editor, or take only the layer you need.

Editor SDK

Full editor — EditorProvider, Preview, AssetPanel, and Timeline in one composition.

$ npm install @elah/editor
Open

Timeline UI

React timeline — tracks, clips, drag/trim/split, ruler, playhead.

$ npm install @elah/timeline
Open

Headless Rendering

Server-side render pipeline — split/trim/build/export and an HTTP render server.

$ npx @elah/cli serve
Open

React Bindings

React bindings — EditorContext, useEditor, store hooks, and the audio mixer hooks.

$ npm install @elah/react
Open

Media Runtime

Framework-agnostic engine: resolver, WebGL2 renderer, WebCodecs decode, MP4 export, and the 1.0 motion layer: keyframes, springs, stagger, paths, effects.

$ npm install @elah/core
Open

@elah/core subpaths

Live

Live in 1.0. Separate entries, so an app that does not import them pays nothing.

  • @elah/core/specVideoSpec JSON to a project
  • @elah/core/htmlHTML + CSS scenes to clips and keys
  • @elah/core/opsEdit operations an AI can call
  • @elah/core/iconsThe vendored icon set
SC 07 · Compare

How elah compares.

CapabilityelahRemotionHyperFrames
Open-source licenceApache-2.0Remotion License: free for individuals and for-profit organizations up to 3 employees; a Company License is required beyond thatApache-2.0
Motion written as codeYes: html scenes and VideoSpecYes: React componentsYes: html with data attributes
Renders in the browser with no serverYes, in Chrome or EdgeExperimental web renderer, a subset of html and cssRenders with headless Chrome and FFmpeg

Sources: Remotion license, Remotion web renderer, HyperFrames on GitHub. Checked against their public pages; check them for current terms.

SC 08 · Engine

One mutation funnel. One pure resolver.

Time is integer frames, every edit goes through the engine, and renderers only read the resolved scene. Same input, same output.

  1. 01 · react ui
    TimelinePreviewAssetPanelTransformOverlay
  2. 02 · react bindings
    EditorContextuseEditorstore hooksaudio mixer hooks
  3. 03 · engine layer
    TimelineEnginePlaybackEngineAudioPlaybackController
  4. 04 · pure resolver
    resolveTimeline(frame, project) → Scene
  5. 05 · renderers
    GpuRenderer (WebGL2)Video · Image · Text layersShape · Freehand layersExportWorker (OffscreenCanvas)
  6. 06 · media pipeline
    StreamingFrameProducerWebCodecsmediabunny demux
SC 09 · FAQ

Common questions.

What is elah?

An open-source video engine. You write motion as code, or a model does, and elah converts it into ordinary clips and keyframes on a timeline. You can open it, change any key, and export an MP4 in the browser.

See how it works →
What does “bound to the timeline” mean?

Every animated property is a channel on a clip, and every key has an id, a frame, a value and an easing. The motion is not a video and not a black box, so it can be inspected, retimed, split and diffed like any other data.

Read the motion docs →
Does elah need a server to export video?

No. Decoding, rendering and MP4 export all run in the browser, and footage is never uploaded. Export needs a Chromium browser (Chrome or Edge), and effects and the six newer transitions need WebGL2. For headless rendering, @elah/cli runs the same export pipeline with headless Chrome.

Read about export →
Can I edit keyframes visually?

Not in the open-source editor yet. Keyframes are plain data: every key has an id you can read, write and diff, through the API or the project JSON. The motion playground shows them in a table you can edit as numbers.

Open the motion playground →
Is the exported video identical to the preview?

Yes. Preview and export run the same pure resolver, resolveTimeline(frame, project) → Scene, and the same placement math, so the frame you scrub is the frame you ship.

Are HTML scenes and VideoSpec stable?

Yes, they are live in 1.0. HTML scenes (@elah/core/html), VideoSpec JSON (@elah/core/spec) and edit operations (@elah/core/ops) have their own subpath entries, so an app that never imports them pays nothing for them. The projects they produce are ordinary projects and stay readable.

Read about scenes and VideoSpec →
Can Claude or another model make videos with elah?

Yes. The elah plugin for Claude Code turns a short brief into a video: Claude writes it as HTML and CSS motion, the plugin validates it, and an artifact opens it for preview, editing and mp4 export. The standalone claude.ai artifact is live. The plugin is unofficial, not made or endorsed by Anthropic.

See elah for Claude →
Is 1.0 on npm?

Yes. It shipped in 1.0, so npm install @elah/core installs it. Keyframes, springs, stagger, motion paths, effects and transitions are in the root entry and follow semver. HTML scenes, VideoSpec and edit operations are live on their own subpath entries.

Read the changelog →
Is elah open source?

Yes. elah is open source under the Apache-2.0 license, copyright Elah Labs Private Limited. It is free to use, modify, embed, self-host, and ship in commercial products.

What export formats does elah support?

MP4 with H.264 video by default (VP9 and VP8 are also available) and AAC or Opus audio, at any aspect ratio, up to the project’s native resolution. HEVC, AV1, WebM transparency and GIF depend on what the browser can encode.

Final cut

Write the motion.
Keep the timeline.

elah is open source. Let Claude write the video, then edit its keyframes and export an mp4 in your browser.

00:00:00:00