Skip to content
Torph

Torph

One animated text-morphing component for React, Vue and Svelte, MIT and with no runtime dependency

Tier A · StrongAnimation LibraryComponent Librarytorph.lochie.me

Torph is a single component that morphs one string into another. Its own line: "Text continuity for interfaces on the web." The demo morphs "Processing Transaction" into "Running late, be there soon." It ships for three frameworks from one package. The usage tabs show React, TypeScript, Vue and Svelte, and the peer dependencies name React 18, Vue 3 and Svelte 5. The package carries no runtime dependency at all. It installs with `npm i torph` and the site gives the same line for pnpm, yarn and bun. Lochie makes it. The repository lochie/torph sits at 1,157 stars under the MIT licence, and the last push was 7 September 2026. npm reports 252,168 downloads in the last month across 14 released versions. The version is 0.1.3, so the API may still move. The site carries a playground, examples and a showcase.

Install
npm i torph

For an agent

Reach for this when a label changes in place and a hard swap reads as a glitch. A status line, a countdown, a streaming answer that settles. Import from the framework entry, not the root. The site shows `import { TextMorph } from 'torph/react'`, and Vue and Svelte have their own entries. It costs nothing in dependencies. The package declares no runtime dependency, and React, Vue and Svelte are peers. Pin the version. It sits at 0.1.3, so treat the props as unstable and read the repository before an upgrade. The site publishes no llms.txt and no sitemap. Read the README in lochie/torph for the props.

Why it is here. A text morph is usually a bespoke animation or a whole motion runtime. This is one MIT component with no runtime dependency that works the same in React, Vue and Svelte.

Install command, framework, licence and component list.

Facts

License
MIT
Pricing
Free, Open source
Framework
React, Vue, Svelte
Styling
Unknown
Distribution
npm package, GitHub repository
Platform
Web
Content type
Code
Agent readiness
Readable open source, CLI installable
Accessibility
Unknown
Maturity
Beta
Pricing detail
Free and MIT. There is no paid tier.
GitHub stars
1,157
Package
torph

Components it ships

1 total

Notable for

  • one component, React, Vue and Svelte
  • no runtime dependency
  • 1,157 stars, MIT
  • 252,168 npm downloads last month
  • version 0.1.3, the API may still move

Provenance

Verified 2026-09-07. HTTP 200. https://torph.lochie.me/ 200, 24,663 bytes. Title "Torph • Dependency-Free Text Morphing". The meta description reads "Dependency-free animated text component." The page shows "<TextMorph />", the line "Text continuity for interfaces on the web.", a demo morphing "Processing Transaction" into "Running late, be there soon.", install tabs for npm, pnpm, yarn and bun with the command "npm i torph", usage tabs for React, TypeScript, Vue and Svelte showing "import { TextMorph } from 'torph/react'" and "<TextMorph>Hello world</TextMorph>", the credit "Crafted for the web by Lochie", the version "v0.1.3", and links named GitHub, Examples, Showcase and Playground. The npm registry for torph: latest 0.1.3, licence MIT, no dependencies, peer dependencies react >=18, react-dom >=18, svelte >=5 and vue >=3, 14 versions, created 2025-10-12, modified 2026-09-07, keywords react, vue, svelte, text, animation, morph, repository git+https://github.com/lochie/torph.git. npm downloads for the last month: 252,168. GitHub API for lochie/torph: 1,157 stars, 25 forks, licence MIT, last push 2026-09-07. /llms.txt returns 404, /sitemap.xml returns 404 and /zzz-not-a-page returns 404, so the site has no catch-all route.

Also in Motion & Interaction

6
torph.lochie.meTier A