Quick Start
Live previews run the actual library through React Native Web. Examples that need native line measurements use an iOS recording.
Complete installation, then choose a preset or create a recipe. Both approaches return a reusable React component.
Start with a preset
editorialRise()React Native WebeditorialRise() uses word tokens, a centered stagger, and combined rise, fade, and scale effects. The component autoplays when it mounts.
Create a word reveal
words()React Native WebThe timeline uses seconds: stagger(0.04) starts visible words 40ms apart. Motion duration uses milliseconds: each token animates for 420ms after its delay. Whitespace keeps its layout space without taking a delay slot. The accessibility policy exposes the complete phrase once and shows the final state when reduced motion is enabled.
Reveal actual rendered lines
overlayText() + lineReveal()iOS recordingUse overlayText() when width and font settings should determine the animated lines. This renderer owns line measurement, so omit .split(...).
lines() is different: it splits only explicit newline characters and does not measure wrapping.
Next steps
- Learn how recipes compose and how to customize presets.
- Add playback controls or external progress.
- Compare renderers, effects, and component props.
