Introduction
slidemotion is a React framework for building animated slide decks in JSX, optimized for presenting code.
Examples
Section titled “Examples”- Core deck example - slides, steps, animate, slide transitions
- Code example - code morphing, highlighting, synced code steps
- Terminal example - terminal playback, sparse timing, synced terminal steps
When slide choreography matters, prefer atSteps for Code and Terminal so code changes stay aligned with Step animations.
import { atSteps, Code, Step } from "slidemotion";
<Step order={1}> <FadeIn>Explain the rename</FadeIn></Step>
<Code lang="ts" steps={[before, after]} atSteps={atSteps(1)}/>