DEV Community

Cover image for TypeMorph: AI Chatbot-like Typing Animations with Markdown Support
jQueryScript
jQueryScript

Posted on

TypeMorph: AI Chatbot-like Typing Animations with Markdown Support

Need typing animations with markdown support but tired of heavy dependencies?

TypeMorph is a 3KB JavaScript library that handles typing effects, HTML rendering, and markdown parsing without the bloat. The core version runs with zero dependencies if you bring your own sanitizers.

Key features:

  • Looping with backspace or clear modes
  • Built-in markdown and HTML parsing
  • Smart auto-scroll that detects user interaction
  • Promise-based API for animation sequencing
  • Framework agnostic (works in React, Vue, plain JS)

Perfect for chat interfaces, documentation sites, or any project where you need LLM-style streaming text without writing custom animation logic.

๐Ÿ‘‰ Blog Post

๐Ÿ‘‰ GitHub Repo

๐Ÿ‘‰ Live Demo

Top comments (0)