Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

Torph

free

Animated text morphing: labels change letter by letter instead of swapping.

by Lochie Axon GitHub npm
visit
Torph website

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

For your agent

Install
npm i torph
Use 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>
Visit