Torph
freeAnimated text morphing: labels change letter by letter instead of swapping.

Try these
Motion
The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.
NumberFlow
Animated number component: digits roll to the new value, formatted with Intl.NumberFormat.
GSAP SplitText
Splits text into lines, words and characters (with masks) for staggered reveal animations.
useScramble
1 KB React hook that scrambles text through random characters before settling (decrypt effect).
Try it
Looks that pick it
Minimalfirst pickApple-likefirst pickEditorialfirst pickRetrofirst pickTechnical / dev-toolfirst pickLuxuryfirst pickOrganic / softfirst pickMesh gradientfirst pickGrainy gradientfirst pickNeumorphismfirst pickiOS nativefirst pickmacOS desktopfirst pickand 51 more
For your agent
Install
npm i torphUse it for
- copy button that confirms in place (Copy -> Copied)
- status labels that progress (Processing -> Sent)
- tabs or toggles whose label text changes
Skip it when
- long paragraphs or body copy: morphing many glyphs reads as noise
- numbers that count or roll: use number-flow instead
- headline reveals on scroll: use gsap-splittext
What's inside11 free
- TextMorph (React)
- useTextMorph
- TextMorph (Vue)
- TextMorph (Svelte)
- TextMorph (vanilla)
- Spring animations
- Numbers (place-value morph)
- Editable fields (cursorIndex)
- Multi-line text
- segmentText
- diffSegments
Facts
- Frameworks
- react, vue, svelte, solid, angular, vanilla
- Styling
- unstyled
- Weight
- tiny
- Accessibility
- ok
- Maturity
- experimental
- License
- MIT
- Price
- Free
Pairs with
Alternatives
import { TextMorph } from 'torph/react'
<TextMorph>{copied ? 'Copied' : 'Copy'}</TextMorph>https://torph.lochie.me/examples
Loading website