Reveal styles
Type by character or word, dissolve a trailing edge, or place words through spatial motion.
Type, erase, and morph text in the browser. Animate plain text or sanitized HTML, compose sequences, and control timing and cancellation.
npm install @staticcanvas/typeflow
bun add @staticcanvas/typeflow
yarn add @staticcanvas/typeflow
pnpm add @staticcanvas/typeflow
npx jsr add @staticcanvas/typeflow
typeStyle: char · eraseStyle: end
Type by character or word, dissolve a trailing edge, or place words through spatial motion.
Backspace from either edge, collapse toward the center, fade, scramble, or remove instantly.
Adjust cadence, direction, stagger, distance, depth, easing, cursors, and reduced-motion behavior.
Morph existing copy, stream live tokens, stagger multiple targets, or pair motion with procedural audio.
Construct multi-step animations, dialogues, and coordinated DOM sequences with TypeFlow.
Lightweight zero-dependency adapter factories and integration hooks for React, Vue 3, Svelte, Solid.js, Alpine.js, Web Components, and Angular.
Type formatted HTML markup safely with allowlist sanitization and balanced tag trees.
Guidelines for reduced motion support, ARIA live regions, and screen reader ergonomics.
Modular opt-in extensions for performance telemetry, Web Audio, keystroke dynamics, debugging, and extended Unicode charsets.
Procedural zero-asset Web Audio keystroke synthesis, custom sound effect hooks, and synchronized MP3 background soundtrack playback.